pairsVIM(x, ..., delimiter = NULL, main = NULL, sub = NULL,
panel = points, lower = panel, upper = panel, diagonal = NULL,
labels = TRUE, pos.labels = NULL, cex.labels = NULL,
font.labels = par("font"), layout = c("matrix","graph"), gap = 1)
data.frame
.x
needs
to have colnames
). If given, it is used to determine the correspofunction(x, y, ...)
, which is used to plot
the contents of each off-diagonal panel of the display.par("oma")
will be set appropriately unless supplied
(see par
).function(x, ...)
to be
applied on the diagonal panels."matrix"
(a matrix-like layout
with the first row on top) and "graph"
(a graph-like layout
with the first row at the marginmatrix
and
scattmatrixMiss
.
The graphical parameter oma
will be set unless supplied as an
argument.
A panel function should not attempt to start a new plot, since the
coordinate system for each panel is set up by pairsVIM
.marginmatrix
, scattmatrixMiss
data(sleep, package = "VIM")
x <- sleep[, -(8:10)]
x[,c(1,2,4,6,7)] <- log10(x[,c(1,2,4,6,7)])
pairsVIM(x)
Run the code above in your browser using DataLab