ellipses | R Documentation |
\kappa
-ellipses)This function produces \kappa
-ellipses, which is a useful geometrical description of the
data points about the sample mean.
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)
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. |
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 |
Gower, J., Gardner-Lubbe, S. & Le Roux, N. (2011, ISBN: 978-0-470-01255-0) Understanding Biplots. Chichester, England: John Wiley & Sons Ltd.
biplot (iris[,1:4]) |> PCA(group.aes=iris[,5]) |> ellipses(kappa=2) |> plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.