Multi-Panel Scatterplot Matrices

USAGE:
splom(formula, aspect = 1, between = list(x = 0.5, y = 0.5),
      panel = panel.splom, pscales = 5, varnames=,  ...)

The following arguments have special meaning within this function. The common meanings for these and all other arguments are listed separately under trellis.args.

formula:
a formula of the form: ~ x | g1 * g2 * ... however the given variables g1, g2, ... may be omitted. The x variable is a numeric matrix or a data frame with p columns. Factor variables in a data frame are converted to numeric variables. Variables on the right hand side of the vertical bar are factors or shingles, and are used to parcel out the x observations (rows) to various panels. Each panel is a p-by-p scatterplot matrix, composed of subpanels.
aspect:
aspect ratio of each panel (and subpanel), square by default.
between:
to avoid confusion between panels and subpanels, the default is to show the panels of a splom plot with space between them.
panel:
function that is used to plot the data on each subpanel of a splom display.
pscales:
a numeric value or a list. If pscales is a single number, it tells the approximate number of equally-spaced ticks that should appear on each axis. If pscales is a list, it should have p components, each of which is itself a list with two components: a numeric vector at and a character vector labels. These two vectors tell where labelled tick marks are placed on the axes, which are drawn inside the diagonal cells. Factor variables are labelled with the factor names. Use pscales=0 to supress the axes entirely.
varnames:
character vector giving the names of the p variables in x. By default, the column names of x.

VALUE:
an object of class trellis, which is automatically plotted by print.trellis.

Unlike the function pairs, there are no axis labels on a splom plot.


SEE ALSO:
panel.splom .

EXAMPLES:
new.iris <- as.data.frame.array(iris, col.dims = 2)
splom( ~ new.iris[, 1:4] | new.iris[, 6], layout = c(3, 1),
      main = "Iris Data")

splom( ~ state.x77 | state.region, layout = c(2,2))