\HeaderA{prepanel.functions}{Useful Prepanel Function for Lattice}{prepanel.functions}
\aliasA{prepanel.lmline}{prepanel.functions}{prepanel.lmline}
\aliasA{prepanel.loess}{prepanel.functions}{prepanel.loess}
\aliasA{prepanel.qqmathline}{prepanel.functions}{prepanel.qqmathline}
\keyword{dplot}{prepanel.functions}
\begin{Description}\relax
These are predefined prepanel functions available in Lattice.
\end{Description}
\begin{Usage}
\begin{verbatim}
prepanel.lmline(x, y, ...)
prepanel.loess(x, y, ...)
prepanel.qqmathline(y, distribution,
                    f.value = ppoints,
                    p = c(0.25, 0.75), 
                    ...) 
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x, y}] x and y values, numeric or factor
\item[\code{distribution}] quantile function for theoretical
distribution. This is automatically passed in when this is used as a
prepanel function in \code{qqmath}.

\item[\code{f.value}] as used in \code{qqmath}
\item[\code{p}] numeric vector of length two, representing probabilities.
Corresponding quantile pairs define the line used.

\item[\code{...}] other arguments
\end{ldescription}
\end{Arguments}
\begin{Value}
usually a list with components \code{xlim}, \code{ylim}, \code{dx} and
\code{dy}, the first two being used to calculate panel axes limits,
the last two for banking computations.  The form of these components
are described under \code{\LinkA{xyplot}{xyplot}}.  There are also several
undocumented prepanel functions that serve as the default for high
level functions, e.g., \code{prepanel.default.xyplot}
\end{Value}
\begin{Author}\relax
Deepayan Sarkar \email{Deepayan.Sarkar@R-project.org}
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{trellis.par.get}{trellis.par.get}}, \code{\LinkA{xyplot}{xyplot}},
\code{\LinkA{Lattice}{Lattice}}. See \code{\LinkA{loess.smooth}{loess.smooth}} for
further options to \code{prepanel.loess}
\end{SeeAlso}

