Computation of a single isometric logratio (ILR)
ILR(data, numer=NA, denom=NA, weight=TRUE)
The isometric logratio (ILR)
The weight assigned to the ILR
A compositional data frame or matrix
Vector of parts in the numerator
Vector of parts in the denominator
Logical indicating if a varying weight is returned (default:TRUE
). If FALSE
, a weight based on equally-weighted parts is returned. Alternatively a positive weight can be specified.
Michael Greenacre
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.
Aitchison, J. (1986), The Statistical Analysis of Compositional Data, Chapman & Hall.
Greenacre, M. (2018), Compositional Data Analysis in Practice, Chapman & Hall / CRC Press.
SLR
, ALR
, PLR
, LR
data(veg)
ILR(veg, numer=1, denom=2:3)
Run the code above in your browser using DataLab