predict.CDA.cv: Predict method for cross-validated CDA submodels

Description Usage Arguments Author(s) See Also

View source: R/predict.CDA.cv.R

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> <[email protected]>

See Also

CDA.cv, predict.coadisc


RVAideMemoire documentation built on Aug. 21, 2017, 5:07 p.m.