Description Usage Arguments Value Examples
Plot a Screeplot of the Principal Component variances
1 | PlotScree(ResPCALMEffects, EffectName, PCnumber = 5)
|
ResPCALMEffects |
a ResPCALMEffects list from the function |
EffectName |
a character with the name of the effect to plot |
PCnumber |
Integer with the number of components to plot |
A ggplot2 object with the Screeplot
1 2 3 4 5 | data('UCH')
ResLMModelMatrix = LMModelMatrix(formula=as.formula(UCH$formula),design=UCH$design)
ResLMEffectMatrices = LMEffectMatrices(ResLMModelMatrix,outcomes=UCH$outcomes)
ResPCALMEffects = PCALMEffects(ResLMEffectMatrices,method="ASCA-E")
PlotScree(ResPCALMEffects,"Hippurate:Citrate",PCnumber=8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.