Fitted method for 'opls' objects
Returns predictions of the (O)PLS(-DA) model on the training dataset
## S4 method for signature 'opls' fitted(object, ...)
object |
An S4 object of class |
... |
Currently not used. |
Predictions (either a vector, factor, or matrix depending on the y response used for training the model)
Etienne Thevenot, etienne.thevenot@cea.fr
data(sacurine) attach(sacurine) sacurine.plsda <- opls(dataMatrix, sampleMetadata[, "gender"]) fitted(sacurine.plsda) detach(sacurine)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.