1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
\name{plotmatrix}
\alias{plotmatrix}
\title{Code to create a scatterplot matrix (experimental)}
\author{Hadley Wickham <h.wickham@gmail.com>}
\description{
Crude experimental scatterplot matrix
}
\usage{plotmatrix(data, mapping=aes(), colour="black")}
\arguments{
\item{data}{data frame}
\item{mapping}{any additional aesthetic mappings (do not use x and y)}
\item{colour}{default point colour}
}
\examples{plotmatrix(mtcars[, 1:3])
plotmatrix(mtcars[, 1:3]) + geom_smooth(method="lm")}
\keyword{hplot}
|