invCLR {easyCODA}R Documentation

Inverse of centred logratios

Description

Given centred logratios (CLRs), compute the inverse (i.e. recover the original parts)

Usage

invCLR(CLRmatrix, part.names=colnames(CLRmatrix))

Arguments

CLRmatrix

A matrix of centred logratios

part.names

Part names in the reconstructed compositional data matrix

Details

The function invCLR computes the original parts, given the centred logratios (CLRs)

Value

parts

The reconstructed parts (they add up to 1)

Author(s)

Michael Greenacre

References

Aitchison, J. (1986), The Statistical Analysis of Compositional Data, Chapman & Hall.
Greenacre, M. (2018), Compositional Data Analysis in Practice, Chapman & Hall / CRC Press.

See Also

CLR, ALR, invALR, LR.VAR

Examples

data(veg)
# compute centred logratios
veg.CLR <- CLR(veg)$LR
# invert back to original parts (parts closed to sum to 1)
invALR(veg.CLR)

[Package easyCODA version 0.34.3 Index]