ggplot draw line with equation code example
Example: add a vertical line in ggplot
+ geom_vline(xintercept = 3, linetype="dotted", color = "blue", size=1.5)
+ geom_vline(xintercept = 3, linetype="dotted", color = "blue", size=1.5)