Learn R Programming

RVAideMemoire (version 0.9-5)

predict.MVA.cv: Predict method for cross-validated submodels

Description

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).

Usage

## S3 method for class 'MVA.cv':
predict(object, newdata, conf.level = 0.95, crit.DA = c("plug-in", "predictive",
  "debiased"), ...)
## S3 method for class 'MVA.cmv':
predict(object, newdata, conf.level = 0.95, crit.DA = c("plug-in", "predictive",
  "debiased"), ...)

Arguments

object
object of class inheriting from "MVA.cv" or "MVA.cmv".
newdata
vector, matrix or data frame giving new individuals (one row per individual).
conf.level
confidence level for prediction of a quantitative response.
crit.DA
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.

See Also

MVA.cv, MVA.cmv