Learn R Programming

robCompositions (version 2.4.1)

rSDev: Relative simplicial deviance

Description

Relative simplicial deviance

Usage

rSDev(x, y)

Value

The relative simplicial deviance

Arguments

x

a propability table

y

an interaction table

Author

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

Run this code
data(precipitation) 
tabprob <- prop.table(precipitation)
tabind <- indTab(precipitation)
tabint <- intTab(tabprob, tabind)
rSDev(tabprob, tabint$intTab)

Run the code above in your browser using DataLab