predict.plsda {mdatools} | R Documentation |
PLS-DA predictions
Description
Applies PLS-DA model to a new data set
Usage
## S3 method for class 'plsda'
predict(object, x, c.ref = NULL, ...)
Arguments
object |
a PLS-DA model (object of class |
x |
a matrix with x values (predictors) |
c.ref |
a vector with reference class values (should be a factor) |
... |
other arguments |
Details
See examples in help for plsda
function.
Value
PLS-DA results (an object of class plsdares
)
[Package mdatools version 0.14.1 Index]