brf_summary_cat_lvl: Summarise the levels of a categorical column in a data frame...

View source: R/summaries.R

brf_summary_cat_lvlR Documentation

Summarise the levels of a categorical column in a data frame with a grouping option

Description

Summarise the levels of a categorical column in a data frame with a grouping option

Usage

brf_summary_cat_lvl(df, data_col, grouping_col = NULL, na.rm = F)

Arguments

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)

Value

a dataframe containing the summary informations


AdrienLeGuillou/briefr documentation built on July 25, 2022, 5:31 a.m.