powered by
Plot the learning set (and test set) on the canonical axes obtained by Canonical Discriminant Analysis (function CDA).
CDA
# S3 method for cda plot(x, newdata = NULL, axes = 1:2, ...)
The classification model (object of class cda-class).
cda-class
The test set (matrix or data.frame).
matrix
data.frame
The canonical axes to be printed (numeric vector).
vector
Other parameters.
CDA, predict.cda, cda-class
predict.cda
require (datasets) data (iris) model = CDA (iris [, -5], iris [, 5]) plot (model)
Run the code above in your browser using DataLab