ggBarChart | R Documentation |
This function provides a simple interface to create a ggplot2::ggplot()
bar chart.
ggBarChart(vector, plotTheme = ggplot2::theme_bw(), ...)
vector |
The vector to display in the bar chart. |
plotTheme |
The theme to apply. |
... |
And additional arguments are passed to |
A ggplot2::ggplot()
plot is returned.
Gjalt-Jorn Peters
Maintainer: Gjalt-Jorn Peters gjalt-jorn@behaviorchange.eu
ggplot2::geom_bar()
rosetta::ggBarChart(mtcars$cyl);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.