pcaScreePlot | R Documentation |
Returns a bar plot of the percentage of variance explained by each Principal Component calculated by pcaBySvd
.
pcaScreePlot( resPcaBySvd, nPC = 5, title = "PCA scree plot", theme = theme_bw() )
resPcaBySvd |
A list corresponding to the output value of |
nPC |
An integer with the number of Principal Components to plot. |
title |
Plot title. |
theme |
ggplot theme, see |
A PCA scree plot
data('UCH') resPCA = pcaBySvd(UCH$outcomes) pcaScreePlot(resPCA, nPC=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.