lmwScreePlot | R Documentation |
Plots barplots of the percentage of variance associated with each principal component and for each matrix effect on the basis of lmwContributions
outputs.
lmwScreePlot( resLmwContributions, effectNames = NULL, nPC = 5, theme = theme_bw() )
resLmwContributions |
A resLmwContributions list from the function |
effectNames |
Names of the effects to be plotted. if |
nPC |
An integer with the number of components to plot. |
theme |
|
A scree plot (ggplot).
data('UCH') resLmwModelMatrix = lmwModelMatrix(UCH) resLmwEffectMatrices = lmwEffectMatrices(resLmwModelMatrix) resASCAE = lmwPcaEffects(resLmwEffectMatrices, method="ASCA-E") resLmwContributions = lmwContributions(resASCAE) lmwScreePlot(resLmwContributions, effectNames ="Hippurate:Citrate", nPC=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.