add_baseline: Add a baseline to a plot.

Description Usage Arguments

View source: R/plot_add_ons.R

Description

Add a horizontal or vertical baseline to a plot. This adds the baseline under most layers.

Usage

1
add_baseline(gg, direction, intercept)

Arguments

gg

The ggplot object on which to add a baseline

direction

The direction on which to add the baseline: x, or y

intercept

The location on which to add the line (usually a dimension factor or a measure)


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