Generate a contingency table.
Arguments
- .data
input a tibble or data.frame
- .x
first variable which will be row names of the table
- .y
second variable which will be columns of the table
- cramer
if
TRUE
, calculates the value of cramer's V. default isTRUE
- p.value
if
TRUE
, calculates p value of chi-squared test. default isTRUE
- adjres
if
TRUE
, calculates adjusted residual and shows the results of chi-square residual tests. default isFALSE