loadingsPlot | R Documentation |
Creates dot chart with the loadings of selected principal component.
loadingsPlot(pcdt, pc = 1, interactive = TRUE, len = 100)
pcdt |
The prcomp object to use for plotting |
pc |
A numeric indicating the principal component selected |
interactive |
Boolean indicating if a plotly will be output instead of a ggplot |
A ggplot2 or plotly dot plot with the loadings of selected principal component
Jordi Rofes Herrera
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.