Predicts response based on submodels generated by cross (model) validation. For regression models (PLSR and CPPLS), the predicted value is given with its confidence interval. For discriminant analyses, the predicted class is given with its probability (computed from the values predicted by all submodels).
# S3 method for MVA.cv
predict(object, newdata, conf.level = 0.95, type.DA = c("max", "all"),
crit.DA = c("plug-in", "predictive", "debiased"), ...)
# S3 method for MVA.cmv
predict(object, newdata, conf.level = 0.95, type.DA = c("max", "all"),
crit.DA = c("plug-in", "predictive", "debiased"), ...)
object of class inheriting from "MVA.cv"
or "MVA.cmv"
.
vector, matrix or data frame giving new individuals (one row per individual).
confidence level for prediction of a quantitative response.
for discriminant analyses, should the probability of the most probable class be given ("max"
, the default) or the probability of each class ("all"
)?
criterion used to predict class membership when a LDA or QDA is used. See predict.lda
.
further arguments to be passed to or from other methods.
Maxime HERVE <maxime.herve@univ-rennes1.fr>
MVA.cv
, MVA.cmv