The pairwise logratios as columns of a data matrix
LR.wt
The weights assigned to the respective logratios
Arguments
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:TRUE). If FALSE, unweighted (equal) weights are returned. Alternatively a set of positive weights can be specified.
Author
Michael Greenacre
Details
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.
References
Aitchison, J. (1986), The Statistical Analysis of Compositional Data, Chapman & Hall.
Greenacre, M. (2018), Compositional Data Analysis in Practice, Chapman & Hall / CRC Press.