ellipses {biplotEZ} | R Documentation |
Concentration ellipses (\kappa
-ellipses)
Description
This function produces \kappa
-ellipses, which is a useful geometrical description of the
data points about the sample mean.
Usage
ellipses(bp, df=2, kappa = NULL, which = NULL,
alpha = 0.95, col = bp$sample$col[which], lty = 1, lwd = 1,
opacity = 0.25, trace = TRUE)
Arguments
bp |
an object of class |
df |
degrees of freedom, with default |
kappa |
value to construct |
which |
the selection of the group for ellipse construction. |
alpha |
size of |
col |
colour of ellipse. Multiple |
lty |
line type of ellipse. The same line type will be used per value of |
lwd |
line width of ellipse. The same line width will be used per value of |
opacity |
level of opacity, with default |
trace |
logical, indicating progress of computation. |
Value
A list with the following components is available:
conc.ellipses |
list of coordinates for the |
col |
vector of colours for the |
lty |
vector of line types for the |
lwd |
vector of line widths for the |
alpha |
vector of |
References
Gower, J., Gardner-Lubbe, S. & Le Roux, N. (2011, ISBN: 978-0-470-01255-0) Understanding Biplots. Chichester, England: John Wiley & Sons Ltd.
Examples
biplot (iris[,1:4]) |> PCA(group.aes=iris[,5]) |> ellipses(kappa=2) |> plot()