CDA | R Documentation |
This function builds a classification model using Canonical Discriminant Analysis.
CDA(train, labels, tune = FALSE, ...)
train |
The training set (description), as a |
labels |
Class labels of the training set ( |
tune |
If true, the function returns paramters instead of a classification model. |
... |
Other parameters. |
The classification model, as an object of class glmnet
.
plot.cda
, predict.cda
, cda-class
require (datasets)
data (iris)
CDA (iris [, -5], iris [, 5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.