This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/pairs.html
pairs {base}R Documentation

Scatterplot Matrices

Description

A matrix of scatterplots is produced. The ijth 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, 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

the function which is used to plot the contents of each panel of the display.

...

graphical parameters can be given as arguments to plot.

Examples

data(judges)
pairs(judges)

[Package base version 0.60 ]