Model predictions across many sub-models
# S3 method for `_mixo_pls`
multi_predict(object, new_data, num_comp = NULL, type = NULL, ...)# S3 method for `_mixo_spls`
multi_predict(object, new_data, num_comp = NULL, type = NULL, ...)
# S3 method for `_mixo_plsda`
multi_predict(object, new_data, num_comp = NULL, type = NULL, ...)
# S3 method for `_mixo_splsda`
multi_predict(object, new_data, num_comp = NULL, type = NULL, ...)
An object of class model_fit
A rectangular data object, such as a data frame.
An integer vector for the number of PLS terms to retain.
A single character value or NULL
. Possible values
are "numeric", "class", or "prob". When NULL
, predict()
will choose an
appropriate value based on the model's mode.
Not currently used.