R adding infrequent date 'events' to a time series plot
Posted
by flyingcrab
on Stack Overflow
See other posts from Stack Overflow
or by flyingcrab
Published on 2010-06-09T15:19:04Z
Indexed on
2010/06/09
15:22 UTC
Read the original article
Hit count: 334
Hi,
I am just starting on R - and have hit a bit of a deadlock with some time series data.
I have a time series (date and value) in 'zoo' format, that I want to annotate with a cross when an event occurs. The events are irregular and in a csv format (just the dates, sometimes repeated).
I've managed to read in the dates etc into a format that R accepts - but i cant seem to get a means to chart the main time series with the secondary events annotated on top?
© Stack Overflow or respective owner