scores | R Documentation |
'scores' exports the scores matrix of a MPCA object.
scores(Object) ## S4 method for signature 'MPCA' scores(Object)
Object |
a MPCA object |
This function takes the whole MPCA object and retrieves the score matrix.
data(MTBLS579) # MPCA with mean-centered and scaled data MTBLS579_mpca <- m_prcomp(MTBLS579, center = TRUE) # Export scores matrix scores(MTBLS579_mpca)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.