add_vline: Add a vertical line to ggplot

Description Usage Arguments

View source: R/add_vline.R

Description

Adds a line with annotation at a specified date (x-axis)

Usage

1
add_vline(p, ltext, ldate, linetype = "solid")

Arguments

p

The plot

ltext

Text to add parallel to the line

ldate

Date on which to put the line


eeholmes/CoV19 documentation built on Oct. 19, 2021, 10:59 a.m.