intTab: Interaction table

Description Usage Arguments Details Value Author(s) References Examples

View source: R/intTab.R

Description

Estimates the interaction table based on clr and inverse clr coefficients.

Usage

1
intTab(x, y, frequencies = c("relative", "absolute"))

Arguments

x

an object of class table

y

the corresponding independence table which is of class “intTab”.

frequencies

indicates whether absolute or relative frequencies should be computed.

Details

Because of the compositional nature of probability tables, the independence tables should be estimated using geometric marginals.

Value

Author(s)

Matthias Templ

References

Egozcue, J.J., Pawlowsky-Glahn, V., Templ, M., Hron, K. (2015) Independence in contingency tables using simplicial geometry. Communications in Statistics - Theory and Methods, 44 (18), 3978–3996.

Examples

1
2
3
4
data(precipitation)
tab1prob <- prop.table(precipitation)
tab1 <- indTab(precipitation)
intTab(tab1prob, tab1)

robCompositions documentation built on Jan. 13, 2021, 10:07 p.m.