predict.plsda | R Documentation |
Applies PLS-DA model to a new data set
## S3 method for class 'plsda'
predict(object, x, c.ref = NULL, ...)
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 |
See examples in help for plsda
function.
PLS-DA results (an object of class plsdares
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.