ternary.ellipse: Ternary confidence ellipse

Description Usage Arguments Examples

View source: R/ternary.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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

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

pvermees/provenance documentation built on Oct. 7, 2018, 9:06 a.m.