
Last chance! 50% off unlimited learning
Sale ends in
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)
Run the code above in your browser using DataLab