Ternary diagram with the coefficients of the simplicial-simplicial regression models {Compositional}R Documentation

Ternary diagram with the coefficients of the simplicial-simplicial regression models

Description

Ternary diagram with the coefficients of the simplicial-simplicial regression models.

Usage

ternary.coef(B, dg = FALSE, hg = FALSE, colour = NULL)

Arguments

B

A matrix with the coefficients of the tflr or the scls functions. See examples for this.

dg

Do you want diagonal grid lines to appear? If yes, set this TRUE.

hg

Do you want horizontal grid lines to appear? If yes, set this TRUE.

colour

If you want the points to appear in different colour put a vector with the colour numbers or colours.

Details

Ternary plot of the coefficients of the tflr or the scls functions.

Value

A ternary plot of the coefficients of the tflr or the scls functions.

Author(s)

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

References

Aitchison, J. (1983). Principal component analysis of compositional data. Biometrika 70(1):57-65.

Aitchison J. (1986). The statistical analysis of compositional data. Chapman & Hall.

See Also

ternary, ternary.reg, scls

Examples

y <- as.matrix(iris[, 1:3])
y <- y / rowSums(y)
x <- rdiri(150, runif(5, 1,4) )
mod <- scls(y, x)
ternary.coef(mod$be)

[Package Compositional version 6.8 Index]