powered by
This function provides a simple interface to create a [ggplot2::ggplot()] bar chart.
ggBarChart(vector, plotTheme = ggplot2::theme_bw(), ...)
The vector to display in the bar chart.
The theme to apply.
And additional arguments are passed to [ggplot2::geom_bar()].
A [ggplot2::ggplot()] plot is returned.
[ggplot2::geom_bar()]
# NOT RUN { ggBarChart(mtcars$cyl); # }
Run the code above in your browser using DataLab