Description Usage Arguments Examples
Creates grouped bar plots if the data has categorical variables.
1 | ds_plot_bar_grouped(data, ..., print_plot = TRUE)
|
data |
A |
... |
Column(s) in |
print_plot |
logical; if |
1 2 3 4 5 6 7 8 | # subset data
mt <- dplyr::select(mtcarz, cyl, gear, am)
# grouped bar plot
ds_plot_bar_grouped(mtcarz, cyl, gear)
# plot all variables
ds_plot_bar_grouped(mt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.