View source: R/predict.MVA.cv.R
predict.MVA.cv | R Documentation |
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 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"), ...)
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. |
Maxime HERVE <maxime.herve@univ-rennes1.fr>
MVA.cv
, MVA.cmv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.