Usage
## S3 method for class 'rcc':
plot3dVar(object, comp = 1:3, rad.in = 0.5,
cutoff = NULL, X.label = FALSE, Y.label = FALSE,
pch = NULL, cex = NULL, col = NULL, font = NULL,
axes.box = "all", label.axes.box = "both",
xlab = NULL, ylab = NULL, zlab = NULL, \ldots)
## S3 method for class 'pls':
plot3dVar(object, comp = 1:3, rad.in = 0.5,
keep.var = FALSE, X.label = FALSE, Y.label = FALSE,
pch = NULL, cex = NULL, col = NULL, font = NULL,
axes.box = "all", label.axes.box = "both",
xlab = NULL, ylab = NULL, zlab = NULL, \ldots)
## S3 method for class 'spls':
plot3dVar(object, comp = 1:3, rad.in = 0.5,
keep.var = FALSE, X.label = FALSE, Y.label = FALSE,
pch = NULL, cex = NULL, col = NULL, font = NULL,
axes.box = "all", label.axes.box = "both",
xlab = NULL, ylab = NULL, zlab = NULL, \ldots)
Arguments
object
object of class inheriting from "rcc"
, "pls"
or "spls"
.
comp
an integer vector of length 3, the components that will be used on the $x$-axis,
the $y$-axis and $z$-axis respectively to project the variables.
rad.in
numeric between 0 and 1, the radius of the small sphere. Defaults to 0.5
.
cutoff
numeric between 0 and 1. Variables with correlations below this cutoff
in absolute value are not plotted (see Details).
X.label, Y.label
either a character vector of names for the $X$- and
$Y$-variables or FALSE
for no names. If TRUE
, the columns names
of the matrice are used as labels.
col
character or integer vector of colors for plotted character and items.
See Details.
pch
character indicating the type of item to plot, possibly vector (see Details).
cex
numeric character (or item) expansion (see Details).
font
numeric font to be used. See text3d
for details. keep.var
boolean. If TRUE
only the variables with loadings not zero are plotted
(as selected by spls
). Defaults to FALSE
.
axes.box
character string or vector specifying the axes box type. Should be a subset
of c("axes", "box", "bbox", "all")
.
label.axes.box
character string indicating whether to label the axes and/or boxes.
Should be a of c("axes", "box", "both")
xlab, ylab, zlab
$x$-, $y$- and $z$-axis titles.
...
further title parameters are passed to title3d
.