Learn R Programming

rrcov (version 1.3-8)

biplot-methods: Biplot for Principal Components (objects of class 'Pca')

Description

Produces a biplot from an object (derived from) Pca-class.

Usage

## S3 method for class 'Pca':
biplot(x, scale=1, \dots)

Arguments

x
an object of class (derived from) "Pca".
scale
The variables are scaled by lambda ^ scale and the observations are scaled by lambda ^ (1-scale) where lambda are the singular values as computed by the Principal Components function. Normally 0
...
optional arguments to be passed to the internal graphical functions.

Side Effects

a plot is produced on the current graphics device.

References

Gabriel, K. R. (1971). The biplot graphical display of matrices with applications to principal component analysis. Biometrika, 58, 453--467.

See Also

Pca-class, PcaClassic, PcaRobust-class.

Examples

Run this code
require(graphics)
biplot(PcaClassic(USArrests))

Run the code above in your browser using DataLab