ILR {easyCODA} | R Documentation |
Isometric logratio
Description
Computation of a single isometric logratio (ILR)
Usage
ILR(data, numer=NA, denom=NA, weight=TRUE)
Arguments
data |
A compositional data frame or matrix |
numer |
Vector of parts in the numerator |
denom |
Vector of parts in the denominator |
weight |
Logical indicating if a varying weight is returned (default: |
Details
The function ILR
computes a single isometric logratio based on the specified numerator and denominator parts that define the two geometric means in the ratio.
Value
LR |
The isometric logratio (ILR) |
LR.wt |
The weight assigned to the ILR |
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
Examples
data(veg)
ILR(veg, numer=1, denom=2:3)