Description Usage Arguments Details Value Examples
Run a Principal Component Analysis on the effect matrices and adapt the result according to the method.
1 | PCALMEffects(ResLMEffectMatrices, method = c("ASCA", "APCA", "ASCA-E"))
|
ResLMEffectMatrices |
a ResLMEffectMatrices list from |
method |
The method use to compute the PCA. One of |
The function allows 3 different methods :
The PCA is applied directly on the pure effect matrix
The PCA is applied directly on the pure effect matrix but scores are updated
The PCA is applied on the augmented effect matrix
The ASCA-E method add the residual to the scores. APCA applied add the residuals to the effect matrix before the PCA.
A list of PCA results from SVDforPCA for each effect matrix. Those results contain :
scoresScores from the PCA for each of the n components
loadingsLoadings from the PCA for each of the n component
eigvalEigenvalues of each of the n component
pcdSingular values of each of the n component
pcunxn matrix of normalized scores
varExplained variance of each of the n component
cumvarCumulated explained variance of each of the n component
original.datasetOriginal dataset
There are also others outputs :
methodType3ResidualsvariationPercentages1 2 3 4 5 6 | data('UCH')
ResLMModelMatrix = LMModelMatrix(formula=as.formula(UCH$formula),design=UCH$design)
ResLMEffectMatrices = LMEffectMatrices(ResLMModelMatrix,outcomes=UCH$outcomes)
ResPCALMEffects = PCALMEffects(ResLMEffectMatrices,method="ASCA-E")
PlotScoresXY(ResPCALMEffects,UCH$design,EffectVector=c("Hippurate"),
varname.color=c("Citrate"),varname.pch=c("Time"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.