invCLR | R Documentation |
Given centred logratios (CLRs), compute the inverse (i.e. recover the original parts)
invCLR(CLRmatrix, part.names=colnames(CLRmatrix))
CLRmatrix |
A matrix of centred logratios |
part.names |
Part names in the reconstructed compositional data matrix |
The function invCLR
computes the original parts, given the centred logratios (CLRs)
parts |
The reconstructed parts (they add up to 1) |
Michael Greenacre
Aitchison, J. (1986), The Statistical Analysis of Compositional Data, Chapman & Hall.
Greenacre, M. (2018), Compositional Data Analysis in Practice, Chapman & Hall / CRC Press.
CLR
, ALR
, invALR
, LR.VAR
data(veg)
# compute centred logratios
veg.CLR <- CLR(veg)$LR
# invert back to original parts (parts closed to sum to 1)
invALR(veg.CLR)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.