Description Usage Arguments Examples
Creates bar plots if the data has categorical variables.
1 | ds_plot_bar(data, ..., fill = "blue", print_plot = TRUE)
|
data |
A |
... |
Column(s) in |
fill |
Color of the bars. |
print_plot |
logical; if |
1 2 3 | ds_plot_bar(mtcarz)
ds_plot_bar(mtcarz, cyl)
ds_plot_bar(mtcarz, cyl, gear)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.