ggBarChart: Bar chart using ggplot

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ggBarChart.R

Description

This function provides a simple interface to create a ggplot2::ggplot() bar chart.

Usage

1
ggBarChart(vector, plotTheme = ggplot2::theme_bw(), ...)

Arguments

vector

The vector to display in the bar chart.

plotTheme

The theme to apply.

...

And additional arguments are passed to ggplot2::geom_bar().

Value

A ggplot2::ggplot() plot is returned.

Author(s)

Gjalt-Jorn Peters

Maintainer: Gjalt-Jorn Peters gjalt-jorn@behaviorchange.eu

See Also

ggplot2::geom_bar()

Examples

1
rosetta::ggBarChart(mtcars$cyl);

rosetta documentation built on Nov. 14, 2021, 1:06 a.m.