cramer.v {questionr} | R Documentation |
Compute Cramer's V of a two-way frequency table
Description
This function computes Cramer's V for a two-way frequency table
Usage
cramer.v(tab)
Arguments
tab |
table on which to compute the statistic |
Examples
data(Titanic)
tab <- apply(Titanic, c(4,1), sum)
#' print(tab)
cramer.v(tab)
[Package questionr version 0.7.8 Index]