On Sun, May 27, 2012 at 7:03 PM, Shivam <shivamsi...@gmail.com> wrote: > Thanks for the responses ppl. > > @Gabor - The issue with your approach was that I had to select the time > window for many days (124), which would be very difficult to achieve. I > really appreciate you time though.
Why does the number of days "make it difficult to achieve"? The number of days does not affect the code at all. Is there some aspect of the problem you haven't mentioned? -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com ______________________________________________ R-help@r-project.org 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.