R: An auxiliary functions to compute user-defined ilr and ipt...

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 `-` as a synonym for `/`
`allowOne` | whether to allow `1` as a variable name playing the role of a a constant.

### 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`, http://ima.udg.es/Activitats/CoDaWork03

### Examples

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

[Package compositions version 1.40-2 Index]