powered by
phi(tab)
table
ftable
xtabs
cramer
tab <- table(sample(1:2, 30, TRUE), sample(1:2, 30, TRUE)) phi(tab)
Run the code above in your browser using DataLab