line_plot | R Documentation |
A custom line plot with optional vertical line
line_plot(df, x, y, xintercept = NULL)
df |
data source |
x |
variable for horizontal axis |
y |
variable for vertical axis |
xintercept |
optional value in horizontal axis to highlight |
a ggplot2::ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.