ggBarChart: Bar chart using ggplot

View source: R/ggBarChart.R

ggBarChartR Documentation

Bar chart using ggplot

Description

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

Usage

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@userfriendlyscience.com

See Also

ggplot2::geom_bar()

Examples


ggBarChart(mtcars$cyl);


ufs documentation built on May 29, 2024, 10:30 a.m.