pairs {base} | R Documentation |
Scatterplot Matrices
Description
A matrix of scatterplots is produced.
The ij
th scatterplot contains x[,i]
plotted against
x[,j]
.
The graphical parameters pch
and col
can be used to
specify a vector of plotting symbols and colors to be used in the
plots.
Usage
pairs(x, ...)
pairs.default(x, labels = dimnames(x)[[2]], panel = points, ...)
Arguments
x |
the coordinates of points given as columns of a matrix. |
labels |
the names of the variables. |
panel |
|
... |
graphical parameters can be given as arguments to
|
Examples
data(USJudgeRatings)
pairs(USJudgeRatings)