Creates stacked bar plots if the data has categorical variables.
ds_plot_bar_stacked(data, ..., print_plot = TRUE)
Arguments
| data |
A data.frame or tibble. |
| ... |
Column(s) in data. |
| print_plot |
logical; if TRUE, prints the plot else returns a plot object. |
Examples
ds_plot_bar_stacked(mtcarz, cyl, gear)