
Calculate elements for the PCA biplot
PCA.biplot.RdThis function performs calculations for the construction of a PCA biplot.
Arguments
- bp
an object of class
biplotobtained from preceding functionbiplot().- dim.biplot
the dimension of the biplot. Only values
1,2and3are accepted, with default2.- e.vects
the vector indicating which eigenvectors (principal components) should be plotted in the biplot, with default
1:dim.biplot.- group.aes
a vector of the same length as the number of rows in the data matrix for differentiated aesthetics for samples.
- show.class.means
a logical value indicating whether group means should be plotted in the biplot.
- correlation.biplot
a logical value. If
FALSE, the distances between sample points are optimally approximated in the biplot. IfTRUE, the correlations between variables are optimally approximated by the cosine of the angles between axes. Default isFALSE.
