tableX.Rd
Provides a pipe-able, clean, flexible version of table()
.
tableX(.data, x1, x2, type = "count", na.rm = FALSE, format_number = FALSE)
the data frame containing the variables
the first bare (not quoted) variable found in .data
the second bare (not quoted) variable found in .data
the summarized output type; can be "count", "cell_perc", "row_perc", or "col_perc"
logical; whether missing values should be removed
default is FALSE; if TRUE, then the numbers are formatted with commas (e.g., 20,000 instead of 20000)