empPC: calculate the empirical correlation for a 2 dimensional...

Description Usage Arguments Value Examples

View source: R/empPC.r

Description

calculate the empirical correlation for a 2 dimensional contingency table.

Usage

1
empPC(P)

Arguments

P

a 2 dimensional contingency table.

Value

the empirical correlation value (r) for the observed data.

Examples

1
2
3
4
5
data(table4);

#fit an empirical correlation
myEC <- empPC(table4);
bs2 <- boot(myEC);

jeroenooms/JJcorr documentation built on May 19, 2019, 6:10 a.m.