Dear List, Sorry if I'm overlooking something simple here but I have gotten a bit tangled.
I am trying to print the next five values(with their dates), which occur after a certain condition is met. I have a series of data in zoo format, call it "A". From this series I have created a subset (also in zoo format) based on a certain condition, call this series "B". I want to use the dates from "B" as an index, so as each of these dates occur in "A", the succeeding five rows from "A" after this date are printed out. Any help would be most appreciated. Regards, Alfonso Sammassimo Melbourne, Victoria ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
