\Header{qq}{Quantile-Quantile Plots of Two Samples}
\keyword{dplot}{qq}
\begin{Description}\relax
Quantile-Quantile plots for comparing two Distributions\end{Description}
\begin{Usage}
\begin{verbatim}
qq(formula, f.value = ppoints, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{formula}] formula of the form \code{y \textasciitilde{} x | g1 * g2 * ...},
where \code{x} must be a numeric, and \code{y} can be a factor,
shingle, character or numeric vector, with the restriction that there
must be exactly two levels of \code{y}, which divide the values of
\code{x} into two groups. Quantiles for these groups will be plotted
along the two axes.

\item[\code{f.value}] function of a single integer (representing sample
size), returning a vector of probabilities corresponding to which
quantiles should be plotted.
\item[\code{...}] Other arguments
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
These and all other high level Trellis functions have several
arguments in common. These are extensively documented only in the
help page for \code{xyplot}, which should be consulted to learn more
detailed usage.\end{Details}
\begin{Value}
An object of class ``trellis''. The `update' method can be used to
update components of the object and the `print' method (usually called
by default) will plot it on an appropriate plotting device.\end{Value}
\begin{Author}\relax
Deepayan Sarkar \email{deepayan@stat.wisc.edu}\end{Author}
\begin{SeeAlso}\relax
\code{\Link{xyplot}}, \code{\Link{panel.qq}},
\code{\Link{Lattice}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data(singer)
qq(voice.part ~ height, aspect = 1, data = singer,
   subset = (voice.part == "Bass 2" | voice.part == "Tenor 1"))
\end{ExampleCode}
\end{Examples}

