The independence table(s) with either relative or absolute frequencies.
Arguments
x
an object of class table
margin
determines how the margins of the table should be estimated (default via geometric mean margins)
frequency
indicates whether absolute or relative frequencies should be computed.
pTabMethod
to estimate the propability table. Default is ‘dirichlet’. Other available methods:
‘classical’ that is function prop.table() from package base or method “half” that add 1/2 to each cell
to avoid zero problems.
Author
Matthias Templ
Details
Because of the compositional nature of probability tables, the independence tables should
be estimated using geometric marginals.
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.