Learn R Programming

BCA (version 0.9-2)

scatterplotMatrixBCA: Scatterplot Matrices

Description

A minor modification of the car package's scatterplotMatrix function that makes enhanced scatterplot matrices with univariate displays down the diagonal; spmBCA is an abbreviation for scatterplotMatrixBCA. This function just sets up a call to pairs with custom panel functions.

Usage

scatterplotMatrixBCA(x, ...)

## S3 method for class 'formula':
scatterplotMatrixBCA(x, data=NULL, subset, labels, ...)

## S3 method for class 'default':
scatterplotMatrixBCA(x, var.labels = colnames(x), diagonal = c("density",
                 "boxplot", "histogram", "oned", "qqplot", "none"),
                 adjust = 1, nclass, plot.points = TRUE, smooth = TRUE,
                 spread = smooth && !by.groups, span = 0.5,
                 loess.threshold = 2, reg.line = lm, transform = FALSE,
                 family = c("bcPower", "yjPower"), ellipse = FALSE,
                 levels = c(0.5, 0.95), robust = TRUE, groups = NULL,
                 by.groups = FALSE, labels, id.method = "mahal", id.n =
                 0, id.cex = 1, id.col = palette()[1], col = if
                 (n.groups == 1) palette()[c(2, 1, 3)] else rep(palette(),
                 length = n.groups), pch = 1:n.groups, lwd = 2,
                 lwd.smooth = lwd, lwd.spread = lwd, lty = 1,
                 lty.smooth = lty, lty.spread = 2, cex = par("cex"),
                 cex.axis = par("cex.axis"), cex.labels = NULL,
                 cex.main = par("cex.main"), legend.plot =
                 length(levels(groups)) > 1, row1attop = TRUE, ...)


spmBCA(x, ...)

Arguments

Value

NULL. This function is used for its side effect: producing a plot.

See Also

scatterplotMatrix