Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.cda

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 cda-class).

newdata

The test set (matrix or data.frame).

axes

The canonical axes to be printed (numeric vector).

...

Other parameters.

See Also

Examples

require (datasets)
data (iris)
model = CDA (iris [, -5], iris [, 5])
plot (model)

fdm2id

Data Mining and R Programming for Beginners

v0.9.5
GPL-3
Authors
Alexandre Blansché [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.