View source: R/dataPreprocessing.R
plotPCA_fviz_screeplot | R Documentation |
Creates a scree plot to visualize the explained variance by principal components from a PCA result.
plotPCA_fviz_screeplot(pca_result, title = NULL)
pca_result |
The result of a PCA analysis (object returned from 'performPCA'). |
title |
An optional title for the scree plot. If NULL, a default title will be used. |
ncp |
Number of principal components |
A ggplot object representing the scree plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.