ggbiplot {rsvd} | R Documentation |
Biplot for rpca
using ggplot
.
Description
Creates a pretty biplot which is showing the individual factor map overlayed by the variables factor map, i.e, plotting both the principal component scores and directions.
Usage
ggbiplot(
rpcaObj,
pcs = c(1, 2),
loadings = TRUE,
groups = NULL,
alpha = 0.6,
ellipse = TRUE,
alpha.ellipse = 0.2,
var_labels = TRUE,
var_labels.names = NULL,
ind_labels = TRUE,
ind_labels.names = NULL
)
Arguments
rpcaObj |
Object returned by the |
pcs |
Array_like. |
loadings |
Bool ( |
groups |
Factor, optional. |
alpha |
Scalar, optional. |
ellipse |
Bool ( |
alpha.ellipse |
Scalar, optional. |
var_labels |
Bool ( |
var_labels.names |
Array_like, optional. |
ind_labels |
Bool ( |
ind_labels.names |
Array_like, optional. |
Author(s)
N. Benjamin Erichson, erichson@berkeley.edu
See Also
Examples
#See ?rpca