The multiplicative log-ratio transformation and its inverse {Compositional}R Documentation

The multiplicative log-ratio transformation and its inverse

Description

The multiplicative log-ratio transformation and its inverse.

Usage

mlr(x)
mlrinv(y)

Arguments

x

A numerical matrix with the compositional data.

y

A numerical matrix with data to be closed into the simplex.

Details

The multiplicative log-ratio transformation and its inverse are applied here. This means that no zeros are allowed.

Value

A matrix with the mlr transformed data (if mlr is used) or with the compositional data (if the mlrinv is used).

Author(s)

Michail Tsagris.

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

References

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

See Also

alr, pivot, green, alfa

Examples

library(MASS)
x <- as.matrix(fgl[, 2:9])
x <- x / rowSums(x)
y <- mlr(x)
x1 <- mlrinv(y)

[Package Compositional version 6.8 Index]