pca_variance_plot | R Documentation |
Saves to file a cumulative variance plot for principle components of a PCA analysis with optional coloring by cumulative percent variance explained
pca_variance_plot(pca_results, output_path = NA, my_width = 8, my_height = 8)
pca_results |
A prcomp object |
output_path |
One-length character vector with fully qualified path to output file |
my_width |
One-length numeric vector for the width of the output plot |
my_height |
One-length numeric vector for the height of the output plot |
Returns the ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.