add_backbar: Add a backbar to a plot.

Description Usage Arguments

View source: R/plot_add_ons.R

Description

Add an additional set of bars (geom_bars) to a plot. This adds the bars under most existing layers, and isn't added to the amount of any current bars.

Usage

1
add_backbar(gg, measure, bg_color = "Gray 4", width = 0.65)

Arguments

gg

The ggplot object on which to add backbars

measure

The column in the original data frame containing the backband measure.

bg_color

The backbars color. Default is "Gray 4".

width

The backbars width Default is 0.65.


brascoball/ggquik documentation built on Feb. 14, 2021, 5:17 p.m.