gsigetBalStruct {compositions} | R Documentation |
An auxiliary functions to compute user-defined ilr and ipt transforms.
Description
Parses the expressions for the balance functions.
Usage
gsi.getBalStruct(descr,names,allowMinus=FALSE,allowOne=FALSE)
Arguments
descr |
the expression |
names |
character: the variables in the dataset |
allowMinus |
whether to allow for |
allowOne |
whether to allow |
Details
These functions will not be usually called on themselves, but
through their wrappers, mainly balanceBase
.
Value
provides a list of pairs giving the components in the Numerator and the Denominator of the balances.
Note
It is better not to use gsi.* functions directly since they are internal functions of the package. Use their wrappers.
Author(s)
Raimon Tolosana-Delgado, K.Gerald v.d. Boogaart http://www.stat.boogaart.de
References
Egozcue J.J., V. Pawlowsky-Glahn, G. Mateu-Figueras and
C. Barcel'o-Vidal (2003) Isometric logratio transformations for
compositional data analysis. Mathematical Geology, 35(3)
279-300
See Also
ilrBase
,ipt
,ilr
,
https://ima.udg.edu/Activitats/CoDaWork03/
Examples
#gsi.getBalStruct(~A/B/C,c("A","B","C"))