coplot {base} | R Documentation |
This function produces two variants of the conditioning plots discussed in the reference below.
coplot(formula, data, given.values, panel = points, rows, columns,
show.given = TRUE, col = par("fg"), pch = par("pch"), ...)
co.intervals(x, number = 6, overlap = 0.5)
formula |
a formula describing the form of conditioning plot. A
formula of the form
|
data |
a data frame containing values for any variables in the
formula. By default the environment where |
given.values |
a value or list of two values which determine how
the conditioning on |
panel |
a function which gives the action to be carried out in
each panel of the display. The default is |
rows |
the panels of the plot are laid out in a |
columns |
the number of columns in the panel layout array. |
show.given |
should conditioning plots be shown for the
conditioning variables (default |
.
col |
a vector of colors to be used to plot the points. If too short, the values are recycled. |
pch |
a vector of plotting symbols or characters. If too short, the values are recycyled. |
... |
additional arguments to the panel function. |
number |
the number conditioning intervals. |
overlap |
the fraction of overlap of the conditioning variables. |
Cleveland, W. S. (1993). Visualizing Data. New Jersey: Summit Press.
pairs
,
panel.smooth
,
points
.
## Tonga Trench Earthquakes
data(quakes)
coplot(long ~ lat | depth, data = quakes)
coplot(long ~ lat | depth * mag, data = quakes)