pca_load_plot_all | R Documentation |
Plot all of the variables (loading) in a single plot.
pca_load_plot_all(pca_recipe, num_comp = 1:4)
pca_recipe |
Object class recipe that already |
num_comp |
Integer vector indicate which PCs to show. |
Plot
library(magrittr)
library(lbmod)
iris %>%
prep_pca() %>%
pca_load_plot_all()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.