scores {RGCxGC} | 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)