Description Usage Arguments Value See Also Examples
Computes contingency table for one independent (column) variable and one or more dependent (row) variables.
1 2 3 4 5 6 7 8 |
data |
a tibble |
col_var |
Independent (column) variable. |
... |
Dependent (row) variables. |
add_total |
Logical indicating whether a 'Total' column should be
computed. Defaults to |
percentages |
Logical indicating whether to output column-wise
percentages instead of absolute values. Defaults to |
chi_square |
Logical indicating whether a Chi-square test should be computed.
Test results will be reported via message(). Defaults to |
a tibble
Other categorical:
tab_frequencies()
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.