On Mon, Jun 28, 2010 at 6:36 PM, stephen sefick <ssef...@gmail.com> 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.

______________________________________________
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.

Reply via email to