Predicts the response on new data with a fitted model.
predict(object, newdata = NULL, nOcomp = NULL)# S4 method for ConsensusOPLS
predict(object, newdata = NULL, nOcomp = NULL)
An object of class ConsensusOPLS.
A list of data frames of new data to predict. If omitted, the
fitted values in object are returned.
Number of Y-orthogonal components to consider. Default, NULL, the number of Y-orthogonal components in the optimal model.