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

From: stephen sefick <ssefick_at_gmail.com>
Date: Mon, 28 Jun 2010 15:42:25 -0500

NOTE: I will provide data if necessary, but I didn't want clutter everyones mailbox

I have a time series with level and temperature data for 11 sites for each of three bases. I will have to do this more than once is what I am saying here. OK, The time series are zoo objects with index values in chron format. The problem is that the date and times should be at even 15 min intervals, but because of operator error (me) they are on 15 min intervals for some of the data and on 15+1 min intervals for some and 15+1.56 for some of the same site. I would like to create a regular 15min time series from this and need to know if I can just create an empty time series with the entire date time I would like and then aggregate. I am not sure how merge or aggregate would act in this particular situation. I want to "snap" readings to the nearest 15min interval.

kindest regards,

Stephen Sefick

| Auburn University |
| Department of Biological Sciences |
| 331 Funchess Hall |
| Auburn, Alabama |
| 36849 |
| sas0025@auburn.edu |
| http://www.auburn.edu/~sas0025 |
|___________________________________| Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods. We are mammals, and have not exhausted the annoying little problems of being mammals. -K. Mullis ______________________________________________ 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 - 20:44:57 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 - 21:50:42 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