Centre: Compositional Centre

Description Usage Arguments Value References Examples

Description

Calculate the centre of a compositional data set.

Usage

1
Centre(P)

Arguments

P

n by m matrix of compositions p1, ..., pm_i for i=1,...,n.

Value

The centre of P as an m element numeric vector.

References

Von Eynatten, H., Pawlowsky-Glahn, V., & Egozcue, J. J. (2002). Understanding perturbation on the simplex: A simple method to better visualize and interpret compositional data in ternary diagrams. Mathematical Geology, 34(3), 249-257.

Pawlowsky-Glahn, V., Egozcue, J. J., & Tolosana-Delgado, R. (2007). Lecture Notes on Compositional Data Analysis. Retrieved from https://dugi-doc.udg.edu/bitstream/handle/10256/297/CoDa-book.pdf

Examples

1
2
P <- prop.table(matrix(runif(300), 100), margin = 1)
tricolore:::Centre(P)

tricolore documentation built on April 28, 2020, 5:10 p.m.