biplot-methods | R Documentation |
Produces a biplot from an object (derived from) Pca-class
.
## S4 method for signature 'Pca'
biplot(x, choices=1L:2L, scale=1, ...)
x |
an object of class (derived from) |
choices |
length 2 vector specifying the components to plot. Only the default is a biplot in the strict sense. |
scale |
The variables are scaled by |
... |
optional arguments to be passed to the internal graphical functions. |
a plot is produced on the current graphics device.
signature(x = Pca)
: Plot a biplot, i.e. represent both
the observations and variables of a matrix of multivariate data on the same
plot. See also biplot.princomp
.
Gabriel, K. R. (1971). The biplot graphical display of matrices with applications to principal component analysis. Biometrika, 58, 453–467.
Pca-class
,
PcaClassic
,
PcaRobust-class
.
require(graphics)
biplot(PcaClassic(USArrests, k=2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.