LR | R Documentation |
Computation of all pairwise logratios.
LR(data, ordering=1:ncol(data), weight=TRUE)
data |
A compositional data frame or matrix |
ordering |
A permutation of the columns (default: the original ordering) |
weight |
Logical indicating if varying weights are returned (default: |
The function LR
computes the complete set of pairwise logratios, in the order [1,2], [1,3], [2,3], [1,4], [2,4], [3,4], etc.
LR |
The pairwise logratios as columns of a data matrix |
LR.wt |
The weights assigned to the respective logratios |
Michael Greenacre
Aitchison, J. (1986), The Statistical Analysis of Compositional Data, Chapman & Hall.
Greenacre, M. (2018), Compositional Data Analysis in Practice, Chapman & Hall / CRC Press.
ALR
, invALR
, CLR
, invCLR
, LR.VAR
data(veg)
LR(veg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.