|The additive log-ratio transformation and its inverse||R Documentation|
The additive log-ratio transformation and its inverse.
A numerical matrix with the compositional data.
A numerical matrix with data to be closed into the simplex.
The additive log-ratio transformation with the first component being the common divisor is applied. The inverse of this transformation is also available. This means that no zeros are allowed.
A matrix with the alr transformed data (if alr is used) or with the compositional data (if the alrinv is used).
R implementation and documentation: Michail Tsagris email@example.com.
Aitchison J. (1986). The statistical analysis of compositional data. Chapman & Hall.
bc, pivot, fp, green, alfa, alfainv alfa.profile, alfa.tune
library(MASS) x <- as.matrix(fgl[, 2:9]) x <- x / rowSums(x) y <- alr(x) x1 <- alrinv(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.