predict {ConsensusOPLS} | R Documentation |
Model prediction
Description
Predicts the response on new data with a fitted model.
Usage
predict(object, newdata = NULL, nOcomp = NULL)
## S4 method for signature 'ConsensusOPLS'
predict(object, newdata = NULL, nOcomp = NULL)
Arguments
object |
An object of class |
newdata |
A list of data frames of new data to predict. If omitted, the
fitted values in |
nOcomp |
Number of Y-orthogonal components to consider. Default, NULL, the number of Y-orthogonal components in the optimal model. |
[Package ConsensusOPLS version 1.1.0 Index]