Skip to content
Prev 181671 / 398502 Next

ggplot2 adding vertical line at a certain date

check out geom_vline

  + geom_vline(xintercept=as.numeric(as.Date("2002-11-01")))

[you may not need to convert the date to numeric in the most recent  
ggplot2 version]
On 27 May 2009, at 20:31, stephen sefick wrote: