Usage
## S3 method for class 'rcc':
plotVar(object, comp = 1:2, rad.in = 0.5, cutoff = NULL,
X.label = FALSE, Y.label = FALSE,
pch = NULL, cex = NULL, col = NULL, font = NULL, ...)
## S3 method for class 'pls':
plotVar(object, comp = 1:2, rad.in = 0.5,
X.label = FALSE, Y.label = FALSE, keep.var = FALSE,
pch = NULL, cex = NULL, col = NULL, font = NULL, ...)
## S3 method for class 'spls':
plotVar(object, comp = 1:2, rad.in = 0.5,
X.label = FALSE, Y.label = FALSE, keep.var = FALSE,
pch = NULL, cex = NULL, col = NULL, font = NULL, ...)
Arguments
object
object of class inheriting from "rcc"
, "pls"
or "spls"
.
comp
integer vector of length two. The components that will be used on the horizontal
and the vertical axis respectively to project the variables.
rad.in
numeric between 0 and 1, the radius of the inner circle. 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 symbols.
See Details.
pch
plot character. A vector of single characters
or integers. See points
for all alternatives. cex
numeric vector of character expansion sizes for the plotted character and symbols.
font
numeric vector of font to be used. See par
for details. keep.var
boolean. If TRUE
only the variables with loadings not zero are plotted
(as selected by spls
). Defaults to FALSE
.