c_table | R Documentation |
Title c.table (contingency table)
c_table( df, x, y, col_percent = TRUE, row_percent = FALSE, show_totals = TRUE, chi = TRUE, decimals = 2, show.compact.table = TRUE, debug = FALSE )
df |
dataframe to be used |
x |
variable that will be on the columns |
y |
variable that will be on the rows |
col_percent |
T/F show percentage by columns |
row_percent |
T/F show percentage by rows |
show_totals |
T/F show totals |
chi |
T/F perform proportions comparison (chi.square or fisher, as needed) |
decimals |
number of decimal digits |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.