Creates stacked bar plots if the data has categorical variables.

ds_plot_bar_stacked(data, ...)

Arguments

data

A data.frame or tibble.

...

Column(s) in data.

Examples

mt <- dplyr::select(mtcarz, cyl, gear, am) ds_plot_bar_stacked(mt)
ds_plot_bar_stacked(mtcarz, cyl, gear)