Learn R Programming

robCompositions (version 1.9.1)

cenLRinv: Inverse centred log-ratio transformation

Description

Applies the inverse centred log-ratio transformation.

Usage

cenLRinv(x, useClassInfo = TRUE)

Arguments

x
an object of class clr, data.frame or matrix
useClassInfo
if the object is of class clr, the useClassInfo is used to determine if the class information should be used. If yes, also absolute values may be preserved.

Value

  • the transformed data set.

References

Aitchison, J. (1986) The Statistical Analysis of Compositional Data Monographs on Statistics and Applied Probability. Chapman & Hall Ltd., London (UK). 416p.

See Also

cenLR, addLR, isomLR, addLRinv, isomLRinv

Examples

Run this code
data(expenditures)
eclr <- cenLR(expenditures)
inveclr <- cenLRinv(eclr)
head(expenditures)
head(inveclr)
head(cenLRinv(eclr$x.clr))

Run the code above in your browser using DataLab