Predict method for cross-validated CDA submodels

Share:

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

1
2
## S3 method for class 'CDA.cv'
predict(object, newdata, method = c("mahalanobis", "euclidian"), ...)

Arguments

object

object of class inheriting from "CDA.cv".

newdata

vector, matrix or data frame giving new individuals (one row per individual).

method

criterion used to predict class membership. See predict.coadisc.

...

further arguments to be passed to or from other methods.

Author(s)

Maxime Herv<e9> <mx.herve@gmail.com>

See Also

CDA.cv, predict.coadisc

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.