View source: R/unsupervised-pca.R
| tidy_pca_screeplot | R Documentation |
Visualize variance explained by each principal component
tidy_pca_screeplot(pca_obj, type = "proportion", add_line = TRUE)
pca_obj |
A tidy_pca object |
type |
Character; "variance" or "proportion" (default) |
add_line |
Logical; add horizontal line at eigenvalue = 1? (for Kaiser criterion) |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.