powered by
`scores` exports the scores matrix of a MPCA object.
scores(Object)# S4 method for MPCA scores(Object)
# S4 method for MPCA scores(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)
Run the code above in your browser using DataLab