ILR: Isometric logratio

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/ILR.r

Description

Computation of a single isometric logratio (ILR)

Usage

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

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

SLR, ALR, PLR, LR

Examples

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

easyCODA documentation built on Sept. 20, 2020, 1:07 a.m.