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:
library(ggplot2)
melt.updn <- (structure(list(date = structure(c(11808, 118
library(ggplot2)
melt.updn <- (structure(list(date = structure(c(11808, 11869, 11961, 11992,
12084, 12173, 12265, 12418, 12600, 12631, 12753, 12996, 13057,
13149, 11808, 11869, 11961, 11992, 12084, 12173, 12265, 12418,
12600, 12631, 12753, 12996, 13057, 13149), class = "Date"), variable =
structur
2 matches
Mail list logo