brf_plot_cat_count: Make a plot of a categorical column in a data frame, count...

View source: R/plots.R

brf_plot_cat_countR Documentation

Make a plot of a categorical column in a data frame, count barplot

Description

Make a plot of a categorical column in a data frame, count barplot

Usage

brf_plot_cat_count(df, data_col, grouping_col = NULL, na.rm = FALSE)

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 ggplot object


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