Default comparison function for binary data.
binary_diff(dt, num_col, reference, digits)
A dataframe with difference in proportions test results between pairs of columns for binary data, as well as an overall chi-squared test across all groups.
the name of the dataframe object.
the number of categorical columns in the data.
the name of the reference row category to use.
significant digits to use.