Print a nicely-formatted table of percentages
Usage
knit_two_ways(.df, .by, .across, .weights)
Arguments
- .df
a table with counts
- .by
the column that will label each row
- .across
the column that will be pivoted to columns
- .weights
the column with in-group counts
See also
[two_way_percentages()]
[knit_percentage_table()]