R/stats.R
cramer.v.Rd
This function computes Cramer's V for a two-way frequency table
cramer.v(tab)
table on which to compute the statistic
data(Titanic) tab <- apply(Titanic, c(4,1), sum) #' print(tab) cramer.v(tab) #> [1] 0.2941201