agg_vline: Add a vertical line to your graph

Description Usage Arguments Examples

View source: R/gg-constructors.R

Description

Add a vertical line to your graph

Usage

1
agg_vline(x, colour = "black", panel, lwd = 1, lty = 1)

Arguments

x

The x coordinate to draw the vertical line at

colour

The colour of the line (default black)

panel

Which panel should the line be placed on? You can specify a vector of panels (e.g. 'panel = c("1","3")') to apply the line to multiple panels at once.

lwd

(Optional, default 1) The line width

lty

(Optional, default 1) The line type (uses R line types)

Examples

1
arphitgg() + agg_vline(x=2003,panel="1")

angusmoore/arphit documentation built on Feb. 15, 2021, 9:40 a.m.