View source: R/predict.CDA.cv.R
predict.CDA.cv | R Documentation |
Predicts response based on CDA (correspondence discriminant analysis) submodels generated by cross validation. The predicted class is given with its probability (computed from the values predicted by all submodels).
## S3 method for class 'CDA.cv'
predict(object, newdata, type = c("max", "all"), method = c("mahalanobis",
"euclidian"), ...)
object |
object of class inheriting from |
newdata |
vector, matrix or data frame giving new individuals (one row per individual). |
type |
should the probability of the most probable class be given ( |
method |
criterion used to predict class membership. See |
... |
further arguments to be passed to or from other methods. |
Maxime HERVE <maxime.herve@univ-rennes1.fr>
CDA.cv
, predict.coadisc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.