Learn R Programming

compositions (version 2.0-4)

gsigetBalStruct: 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)

Value

provides a list of pairs giving the components in the Numerator and the Denominator of the balances.

Arguments

descr

the expression

names

character: the variables in the dataset

allowMinus

whether to allow for - as a synonym for /

allowOne

whether to allow 1 as a variable name playing the role of a a constant.

Author

Raimon Tolosana-Delgado, K.Gerald v.d. Boogaart http://www.stat.boogaart.de

Details

These functions will not be usually called on themselves, but through their wrappers, mainly balanceBase.

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

Examples

Run this code
#gsi.getBalStruct(~A/B/C,c("A","B","C"))

Run the code above in your browser using DataLab