View source: R/make_crosstab.R
Creates a formatted flat contingency table with class ftable.
1 2 3 | make_crosstab(tbl, output = crosstab_output(tbl),
col_level_threshold = 8, row_vars = NULL, col_vars = NULL,
samp_size_warn = F, ...)
|
tbl |
A data.table returned by summarize_data. |
output |
A named character vector denoting the output. |
col_level_threshold |
Maximum amount of group variable levels in the column position. |
row_vars |
Group variables to be represented in the row position. |
col_vars |
Group variables to be represented in the column position. |
samp_size_warn |
logical. Attach asterisk to value if sample size is less than 30. |
... |
Optional formatting arguments. See format_values. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.