pca_scree_plot | R Documentation |
PCA Screeplot
pca_scree_plot(
pca_recipe,
terms = "percent_var",
title = "Scree Plot",
y = NA,
...
)
pca_recipe |
Object class recipe that already |
terms |
(character) To specify the y-axis, must be one of "var" for variance, "percent_var" for percent variance, and "cum_var" for cumulative percent variance |
title |
(character) Title of the plot |
y |
Y-axis label: |
... |
passed to |
plot
library(magrittr)
library(lbmod)
iris %>%
prep_pca() %>%
pca_scree_plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.