Learn R Programming

easyCODA (version 0.40.2)

ILR: Isometric logratio

Description

Computation of a single isometric logratio (ILR)

Usage

ILR(data, numer=NA, denom=NA, weight=TRUE)

Value

LR

The isometric logratio (ILR)

LR.wt

The weight assigned to the ILR

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:TRUE). If FALSE, a weight based on equally-weighted parts is returned. Alternatively a positive weight can be specified.

Author

Michael Greenacre

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.

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

SLR, ALR, PLR, LR

Examples

Run this code
data(veg)
ILR(veg, numer=1, denom=2:3)

Run the code above in your browser using DataLab