getLoadingMN {ropls} | R Documentation |
(Orthogonal) loadings of the PCA/(O)PLS(-DA) model
getLoadingMN(object, ...) ## S4 method for signature 'opls' getLoadingMN(object, orthoL = FALSE)
object |
An S4 object of class |
... |
Currently not used. (default is FALSE and the predictive loading matrix is returned) |
orthoL |
Logical: Should the orthogonal loading matrix be returned |
Numeric matrix with a number of rows equal to the number of variables and a number of columns equal to the number of components
Etienne Thevenot, etienne.thevenot@cea.fr
data(sacurine) attach(sacurine) sacurine.plsda <- opls(dataMatrix, sampleMetadata[, "gender"]) getLoadingMN(sacurine.plsda) detach(sacurine)