Biplot for rpca using ggplot.
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.
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 )
rpcaObj |
Object returned by the |
pcs |
Array_like. |
loadings |
Bool (TRUE, FALSE), optional. |
groups |
Factor, optional. |
alpha |
Scalar, optional. |
ellipse |
Bool (TRUE, FALSE), optional. |
alpha.ellipse |
Scalar, optional. |
var_labels |
Bool (TRUE, FALSE), optional. |
var_labels.names |
Array_like, optional. |
ind_labels |
Bool (TRUE, FALSE), optional. |
ind_labels.names |
Array_like, optional. |
N. Benjamin Erichson, erichson@berkeley.edu
#See ?rpca
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.