CLR {easyCODA} | R Documentation |
Centred logratios
Description
Computation of centred logratios (CLRs).
Usage
CLR(data, weight=TRUE)
Arguments
data |
A compositional data frame or matrix |
weight |
Logical indicating if varying weights are returned(default: |
Details
The function CLR
computes the set of centred logratios (CLRs).
Value
LR |
The centred logratios (CLRs) |
LR.wt |
The weights assigned to the CLRs |
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
invCLR
, ALR
, invALR
, LR
, LR.VAR
Examples
data(veg)
CLR(veg)
[Package easyCODA version 0.34.3 Index]