ds_plot_bar_stacked {descriptr} | R Documentation |
Generate stacked bar plots
Description
Creates stacked bar plots if the data has categorical variables.
Usage
ds_plot_bar_stacked(data, ..., print_plot = TRUE)
Arguments
data |
A |
... |
Column(s) in |
print_plot |
logical; if |
Examples
mt <- dplyr::select(mtcarz, cyl, gear, am)
ds_plot_bar_stacked(mt)
ds_plot_bar_stacked(mtcarz, cyl, gear)
[Package descriptr version 0.5.2 Index]