Description Usage Arguments Value
Returns biplot of two pc dimensions
1 | pca.biplot(pca.obj, pcs, flip = FALSE, scale = T)
|
pca.obj |
Takes pca object made by just.pca() |
pcs |
Integer input vector of length 2 of which PC dimensions should be plotted |
flip |
Logical, Default set to FALSE. will flip coordinates over x=y line. Only included because PCA function's biplot seems to always be flipped. |
scale |
Logical, Default set to TRUE. Will scale vectors to unit circle. If set to FALSE, will use eigenvalues as relative length. Scale set to FALSE will also remove regular coordinates and plotted circle. |
ggplot plot of the variables in a coordinate graph of two pc dimensions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.