pcaPlot | R Documentation |
Plot the items loadings along the principal components.
pcaPlot(x, labels = NA, n_comp = 10)
x |
A matrix of the loadings of each item upon each component (the "x" part of the prcomp() output). |
labels |
A vector of the labels associated with the rows of x. |
n_comp |
The number of components to plot. |
A “ggplot2” object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.