Description Usage Arguments Details Value Author(s) References See Also Examples
Computation of the set of pivot logratios(PLRs) based on the specified ordering of parts
1 |
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: |
The function PLR
computes the set of pivot logratios according to the ordering of the parts.
LR |
The pivot logratios (PLRs) |
LR.wt |
The weights assigned to the PLRs |
Michael Greenacre
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.
1 2 |
Loading required package: ca
Loading required package: vegan
Loading required package: permute
Loading required package: lattice
This is vegan 2.5-7
Loading required package: ellipse
Attaching package: ‘ellipse’
The following object is masked from ‘package:graphics’:
pairs
$LR
Protein/Fat&Carbohydrate Fat/Carbohydrate
Asparagus -0.24802519 -0.9195589
Beans(soya) 0.14475485 -0.1526595
Broccoli 0.17310095 -0.5529742
Carrots -1.55301541 -1.1585410
Corn -1.33944914 -1.0551725
Mushrooms -1.00888948 -0.8042914
Onions -1.36272359 -1.4247918
Peas -0.54476244 -1.1273596
Potatoes(boiled) -1.56285053 -1.6633849
Spinach -0.06035807 -0.7007084
$LR.wt
Protein/Fat&Carbohydrate Fat/Carbohydrate
0.1873699 0.0370192
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.