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

plot.factorial

Plot function for factorial-class


Description

Plot PCA, CA or MCA.

Usage

## S3 method for class 'factorial'
plot(x, type = c("ind", "cor", "eig"), axes = c(1, 2), ...)

Arguments

x

The PCA, CA or MCA result (object of class factorial-class).

type

The graph to plot.

axes

The factorial axes to be printed (numeric vector).

...

Other parameters.

See Also

Examples

require (datasets)
data (iris)
pca = PCA (iris, quali.sup = 5)
plot (pca)
plot (pca, type = "cor")
plot (pca, type = "eig")

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.