brf_formatted_cat_lvl | R Documentation |
Format a categorical column levels summary with 'gt()'
brf_formatted_cat_lvl( df, data_col, grouping_col = NULL, na.rm = F, decimals = 1 )
df |
a data frame |
data_col |
the unquoted name of the column to summarise |
grouping_col |
the unquoted name of the column to use for groupings |
na.rm |
should 'NA's be removed (default: FALSE) |
the summary as a 'kable table'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.