plot.cda {fdm2id} | R Documentation |
Plot the learning set (and test set) on the canonical axes obtained by Canonical Discriminant Analysis (function CDA
).
## S3 method for class 'cda'
plot(x, newdata = NULL, axes = 1:2, ...)
x |
The classification model (object of class |
newdata |
The test set ( |
axes |
The canonical axes to be printed (numeric |
... |
Other parameters. |
require (datasets)
data (iris)
model = CDA (iris [, -5], iris [, 5])
plot (model)