Skip to content
Prev 8607 / 15274 Next

Open to Close to Open data transformation (quantmod, xts and possibly zoo) + chart.TimeSeries

You may have already figured this out, but the dates have to appear in the
timeseries at the same granularity you are looking to match.
list(c("03-01-2011","05-06-2011")), period.color = "blue", lwd = 2)

should be...
list(c("2011-01-03","2011-06-06")), period.color = "blue", lwd = 2)

... where the list of areas is specified in 8601 format.  Also note that
the fifth of June does not appear in your data series.  If you are looking
to match at a higher granularity, then period.areas = list(c("2011-01",
"2011-05")) would also work.

HTH,

pcc