ternary_ellipse | R Documentation |
Computes and draws a confidence/tolerance ellipse.
ternary_ellipse(x, y, z, ...)
ternary_confidence(x, y, z, ...)
ternary_tolerance(x, y, z, ...)
## S4 method for signature 'numeric,numeric,numeric'
ternary_ellipse(x, y, z, radius = 1, ...)
## S4 method for signature 'ANY,missing,missing'
ternary_ellipse(x, radius = 1, ...)
## S4 method for signature 'numeric,numeric,numeric'
ternary_confidence(x, y, z, level = 0.95, ...)
## S4 method for signature 'ANY,missing,missing'
ternary_confidence(x, level = 0.95, ...)
## S4 method for signature 'numeric,numeric,numeric'
ternary_tolerance(x, y, z, level = 0.95, ...)
## S4 method for signature 'ANY,missing,missing'
ternary_tolerance(x, level = 0.95, ...)
x , y , z |
A |
... |
Further arguments to be passed to |
radius |
A |
level |
A |
Ellipse coordinates are computed after an isometric log ratio transformation of the original data.
ternary_ellipse()
is called it for its side-effects.
N. Frerebeau
graphics::polygon()
Other statistics:
ternary_contour()
,
ternary_density()
,
ternary_hull()
,
ternary_mean()
,
ternary_pca()
## Ellipses
## Data from Aitchison 1986
ternary_plot(lava, panel.first = ternary_grid(5, 10))
ternary_tolerance(lava, level = 0.95, border = "blue", lty = 2)
ternary_confidence(lava, level = 0.95, border = "red", lty = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.