Description Usage Arguments Author(s) Examples
PCA Loadings plot
This function plots the relation between the original variables and the subspace dimensions. It is useful for interpreting relationships among variables.
1 2 | ## S3 method for class 'pca.loadings'
plot(pca_obj, nvar)
|
pca_obj |
an object of class pca |
nvar |
the number of variables to plot |
... |
optional graphical parameters |
Piergiorgio Palla
1 2 3 | ## data(cachexiaData)
## pca_obj <- pca(cachexiaData, autoscale = TRUE, exclude = TRUE)
## plot.pca.loadings(pca_obj, nvar = 20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.