Learn R Programming

easyCODA (version 0.40.2)

CLR: Centred logratios

Description

Computation of centred logratios (CLRs).

Usage

CLR(data, weight=TRUE)

Value

LR

The centred logratios (CLRs)

LR.wt

The weights assigned to the CLRs

Arguments

data

A compositional data frame or matrix

weight

Logical indicating if varying weights are returned(default:TRUE). If FALSE, unweighted (equal) weights are returned. Alternatively a set of positive weights can be specified.

Author

Michael Greenacre

Details

The function CLR computes the set of centred logratios (CLRs).

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

Run this code
data(veg)
CLR(veg)

Run the code above in your browser using DataLab