[R] Date Time Sequence

From: stephen sefick <ssefick_at_gmail.com>
Date: Thu, 26 Jun 2008 17:36:36 -0400

I would like a sequence of dates with a time step of 15 minutes starting:
1/1/2006 00:00:00 - 12/31/2006 23:45:00

function(x) {

   chron(sub(" .*", "", x), gsub(".* (.*)", "\\1:00", x)) }

this is the piece of code I use to read in zoo objects for any help I would be grateful I have tried sequence and I can not seem to get it to work

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

	[[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 26 Jun 2008 - 21:40: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 Thu 26 Jun 2008 - 22:31:21 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