[R] working with zoo time index ??

From: skan <juanpide_at_gmail.com>
Date: Tue, 15 Jun 2010 05:27:42 -0700 (PDT)

Hello

Where could I find examples on how to work with the time index in a timeseries or zoo series?

Let say I've got this series

DATA

1990-01-01 10:00:00   0.900
1990-01-01 10:01:00   0.910
1990-01-01 10:03:00   0.905
1990-01-01 10:04:00   0.905
1990-01-01 10:05:00   0.890

.......................

2000-12-31 20:00:00 0.992

How do I make simple calculations such as ... ? Calculate the mean of the first data every day. (mapply, for loop, tapply ?) Transform data to a table, with dates in one axis and times in the other.

thanks

-- 
View this message in context: http://r.789695.n4.nabble.com/working-with-zoo-time-index-tp2255804p2255804.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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 Tue 15 Jun 2010 - 13:12:16 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 Tue 15 Jun 2010 - 13:50:31 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