Computation of the set of pivot logratios(PLRs) based on the specified ordering of parts
Usage
PLR(data, ordering=1:ncol(data), weight=TRUE)
Value
LR
The pivot logratios (PLRs)
LR.wt
The weights assigned to the PLRs
Arguments
data
A compositional data frame or matrix
ordering
The ordering of the parts to be used in the PLRs (by default, the original ordering of the columns)
weight
Logical indicating if varying weights are returned (default:TRUE). If FALSE, weights based on equally-weighted parts are returned. Alternatively a set of positive weights can be specified.
Author
Michael Greenacre
Details
The function PLR computes the set of pivot logratios according to the ordering of the parts.
References
Hron K., Filzmoser P., de Caritat P., Fiserova E., Gardlo A. (2017). Weighted pivot coordinates for copositional data and their application to geochemical mapping. Mathematical Geosciences 49, 777-796.