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

From: Gabor Grothendieck <>
Date: Mon, 28 Jun 2010 18:40:26 -0400

On Mon, Jun 28, 2010 at 6:36 PM, stephen sefick <> wrote:
> #z is my raggidy zoo series
> min15 <- times("00:15:00")
> trunc(index(z), min15)
> This looks like what I want I am just truncating the index to the
> nearest 15 min interval.  a quick check with length confirms that they
> are both of the same length.  I am just checking to make sure that I
> am not missing something.  Thank you very much for your help.

Yes, that truncates. mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 28 Jun 2010 - 22:42:42 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:00:43 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive