predict.CDA.cv {RVAideMemoire} | R Documentation |
Predict method for cross-validated CDA submodels
Description
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).
Usage
## S3 method for class 'CDA.cv'
predict(object, newdata, type = c("max", "all"), method = c("mahalanobis",
"euclidian"), ...)
Arguments
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. |
Author(s)
Maxime HERVE <maxime.herve@univ-rennes1.fr>
See Also
[Package RVAideMemoire version 0.9-83-7 Index]