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