ds_plot_bar {descriptr} | R Documentation |
Generate bar plots
Description
Creates bar plots if the data has categorical variables.
Usage
ds_plot_bar(data, ..., fill = "blue", print_plot = TRUE)
Arguments
data |
A |
... |
Column(s) in |
fill |
Color of the bars. |
print_plot |
logical; if |
Examples
# plot single variable
ds_plot_bar(mtcarz, cyl)
# plot multiple variables
ds_plot_bar(mtcarz, cyl, gear)
# plot all variables
ds_plot_bar(mtcarz)
[Package descriptr version 0.6.0 Index]