add_backtext: Add backtext to a plot.

Description Usage Arguments

View source: R/plot_add_ons.R

Description

Add an additional set of text (geom_text) to a plot. Works best when using with add_backbar.

Usage

1
add_backtext(gg, measure, text_size = 3, vertical_adjust = -0.5)

Arguments

gg

The ggplot object on which to add backbars

measure

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

text_size

The backtext size. Default is 3.

vertical_adjust

The text vertical adjustment. Default is -0.5.


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