ternary.ellipse: Ternary confidence ellipse

View source: R/ternary.R

ternary.ellipseR Documentation

Ternary confidence ellipse

Description

plot a 100(1-\alpha)\% confidence region around the data or around its mean.

Usage

ternary.ellipse(x, ...)

## Default S3 method:
ternary.ellipse(x, alpha = 0.05, population = TRUE, ...)

## S3 method for class 'compositional'
ternary.ellipse(x, alpha = 0.05, population = TRUE, ...)

## S3 method for class 'counts'
ternary.ellipse(x, alpha = 0.05, population = TRUE, ...)

Arguments

x

an object of class ternary

...

optional formatting arguments

alpha

cutoff level for the confidence ellipse

population

show the standard deviation of the entire population or the standard error of the mean?

Examples

data(Namib)
tern <- ternary(Namib$Major,'CaO','Na2O','K2O')
plot(tern)
ternary.ellipse(tern)

provenance documentation built on May 29, 2024, 4:23 a.m.