R: ilr coordinates in 2x2 compositional tables

ilr.2x2 {robCompositions} | R Documentation

## ilr coordinates in 2x2 compositional tables

### Description

ilr coordinates of original, independent and interaction compositional table using SBP1 and SBP2

### Usage

    ilr.2x2(x, margin = 1, type = "independence", version = "book")

### Arguments

`x` | a 2x2 table
`margin` | for 2x2 tables available for a whole set of another dimension. For example, if 2x2 tables are available for every country.
`type` | choose between “independence” or “interaction” table
`version` | the version used in the “paper” below or the version of the “book”.

### Value

The ilr coordinates

### Author(s)

Kamila Facevicova, Matthias Templ

### References

Facevicova, K., Hron, K., Todorov, V., Guo, D., Templ, M. (2014). Logratio approach to statistical analysis of 2x2 compositional tables. Journal of Applied Statistics, 41 (5), 944–958.

### Examples

    data(employment)
    ilr.2x2(employment[,,"AUT"])
    ilr.2x2(employment[,,"AUT"], version = "paper")
    ilr.2x2(employment, margin = 3, version = "paper")
    ilr.2x2(employment[,,"AUT"], type = "interaction")

[Package robCompositions version 2.2.1 Index]