Given two datasets with ordinal variables,
computes the chi squared statistic. To obtain the lambda statistic as used in
pmc(), subtract the degrees of freedom.
Examples
if (FALSE) { # \dontrun{
if(interactive()){
chi_sq(iris[1:2], iris[3:4])
}
} # }