predict.MVA.cv {RVAideMemoire} | R Documentation |
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, type.DA = c("max", "all"),
crit.DA = c("plug-in", "predictive", "debiased"), ...)
## S3 method for class 'MVA.cmv'
predict(object, newdata, conf.level = 0.95, type.DA = c("max", "all"),
crit.DA = c("plug-in", "predictive", "debiased"), ...)
Arguments
object |
object of class inheriting from |
newdata |
vector, matrix or data frame giving new individuals (one row per individual). |
conf.level |
confidence level for prediction of a quantitative response. |
type.DA |
for discriminant analyses, should the probability of the most probable class be given ( |
crit.DA |
criterion used to predict class membership when a LDA or QDA is used. See |
... |
further arguments to be passed to or from other methods. |
Author(s)
Maxime HERVE <maxime.herve@univ-rennes1.fr>