Re: [R] Zoo series to a date time stamp that is regular

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Mon, 28 Jun 2010 19:04:58 -0400

On Mon, Jun 28, 2010 at 6:47 PM, stephen sefick <ssefick_at_gmail.com> wrote:
> Now there are duplicates.  I am having a really hard time with this.
> I want to keep the index the same if it lies on a 15min interval and
> round up or down to the closest interval.

If you have duplicates in an interval then use aggregate as shown in my prior post.



R-help_at_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. Received on Mon 28 Jun 2010 - 23:07:15 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 28 Jun 2010 - 23:20:43 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive