\Header{prepanel.functions}{Useful Prepanel Function for Lattice}
\alias{prepanel.lmline}{prepanel.functions}
\alias{prepanel.loess}{prepanel.functions}
\alias{prepanel.qqmathline}{prepanel.functions}
\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, ...) 
\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{...}] other arguments
\end{ldescription}
\end{Arguments}
\begin{Value}
usually a list with components \code{xlim, ylim, dx, 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{\Link{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@stat.wisc.edu}
\end{Author}
\begin{SeeAlso}\relax
\code{\Link{trellis.par.get}}, \code{\Link{xyplot}},
\code{\Link{Lattice}}. See \code{\Link{loess.smooth}} for
further options to \code{prepanel.loess}
\end{SeeAlso}

