gpairs | R Documentation |
A matrix of scatterplots is produced.
gpairs(x, ...)
## Default S3 method:
gpairs(
x,
labels,
panel = points,
...,
lower.panel = panel,
upper.panel = panel,
diag.panel = NULL,
text.panel = textPanel,
label.pos = 0.5 + has.diag/3,
line.main = 3,
cex.labels = NULL,
font.labels = 1,
row1attop = TRUE,
gap = 1,
log = "",
grid = TRUE,
col.grid = "grey90",
col.acc = "white"
)
## S3 method for class 'formula'
gpairs(
formula,
data = NULL,
...,
subset,
na.action = stats::na.pass,
grid = TRUE,
col.grid = "grey90",
col.acc = "white"
)
x |
the coordinates of points given as numeric columns of a
matrix or data frame. Logical and factor columns are converted to
numeric in the same way that |
... |
arguments to be passed to or from methods. Also, graphical parameters can be given as can arguments to
|
labels |
the names of the variables. |
panel |
|
lower.panel, upper.panel |
separate panel functions (or
|
diag.panel |
optional |
text.panel |
optional |
label.pos |
|
line.main |
if |
cex.labels, font.labels |
graphics parameters for the text panel. |
row1attop |
logical. Should the layout be matrix-like with row 1 at the top, or graph-like with row 1 at the bottom? The latter (non default) leads to a basically symmetric scatterplot matrix. |
gap |
distance between subplots, in margin lines. |
log |
a character string indicating if logarithmic axes are to be
used, see |
grid |
logical; if |
col.grid |
|
col.acc |
|
formula |
a formula, such as |
data |
a data.frame (or list) from which the variables in
|
subset |
an optional vector specifying a subset of observations to be used for plotting. |
na.action |
a function which indicates what should happen
when the data contain |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.