Description Usage Arguments Value Examples
View source: R/predict.plsda.R
This function takes a plsda model and a set of predictors fitting to this model and will return a plsda-prev object containing the predicted values.
1 2 |
object |
A plsda object containing a trained model. The model can be generated with the fit function of this package. |
X |
The set of predictor that will be used to compute prediction. It mus fit the predictors used to train the model. |
... |
Use to comply generic model |
A plsda-pred object containing prediction. This object contains y.hat, a qualitative prediction and Y.hat, a binarized prediction.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.