rSDev | R Documentation |
Relative simplicial deviance
rSDev(x, y)
x |
a propability table |
y |
an interaction table |
The relative simplicial deviance
Matthias Templ
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.
data(precipitation)
tabprob <- prop.table(precipitation)
tabind <- indTab(precipitation)
tabint <- intTab(tabprob, tabind)
rSDev(tabprob, tabint$intTab)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.