\Header{pairs.formula}{Formula Notation for Scatterplot Matrices}
\keyword{hplot}{pairs.formula}
\begin{Usage}
\begin{verbatim}
pairs.formula(formula, data = NULL, subset, na.action, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\texttt{formula}] a formula, such as \texttt{y $\,\tilde{\,}$ x}.
\item[\texttt{data}] a data.frame (or list) from which the variables in
\texttt{formula} should be taken.
\item[\texttt{subset}] an optional vector specifying a subset of observations
to be used in the fitting process.
\item[\texttt{na.action}] a function which indicates what should happen when
the data contain \texttt{NA}s.
\item[\texttt{...}] graphical parameters may also be passed as arguments,
see \texttt{\Link{par}}.
\end{ldescription}
\end{Arguments}
\begin{Description}
Produce a matrix of scatterplots using formula notation.\end{Description}
\begin{Details}
This is a method of the generic function \texttt{\Link{pairs}}.\end{Details}
\begin{SeeAlso}
\texttt{\Link{pairs.default}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data(swiss)
pairs(~ Fertility + Education + Catholic,
      data = swiss, subset = Education < 20)
\end{ExampleCode}
\end{Examples}

