Rev 5228 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{pairs.formula}\alias{pairs.formula}\title{Formula Notation for Scatterplot Matrices}\usage{pairs.formula(formula, data = NULL, subset, na.action, \dots)}\arguments{\item{formula}{a formula, such as \code{y ~ x}.}\item{data}{a data.frame (or list) from which the variables in\code{formula} should be taken.}\item{subset}{an optional vector specifying a subset of observationsto be used in the fitting process.}\item{na.action}{a function which indicates what should happen whenthe data contain \code{NA}s.}\item{\dots}{graphical parameters may also be passed as arguments,see \code{\link{par}}.}}\description{Produce a matrix of scatterplots using formula notation.}\details{This is a method of the generic function \code{\link{pairs}}. Itoperates by setting up the data from the formula specification, andthen calling \code{\link{pairs.default}}.}\seealso{\code{\link{pairs.default}}}\examples{data(swiss)pairs(~ Fertility + Education + Catholic,data = swiss, subset = Education < 20)}\keyword{hplot}