Skip to content

Seven month time-series sampled at hourly intervals

3 messages · Henrik Andersson, Achim Zeileis, Gabor Grothendieck

#
I have data from several sensors that recorded data at hourly intervals 
during seven months. I want to separate daily variation from the trend, 
and also be able to zoom in on only one month of data.

I have not been able what functions to use, I can not figure out from 
the help for 'ts' how to use hourly data.

I guess this is routine-work for a lot of people so I hope someone can 
point me in the right direction.

---------------------------------------------
Henrik Andersson
Netherlands Institute of Ecology -
Centre for Estuarine and Marine Ecology
P.O. Box 140
4400 AC Yerseke
Phone: +31 113 577473
h.andersson at nioo.knaw.nl
http://www.nioo.knaw.nl/ppages/handersson
#
On Fri, 02 Dec 2005 12:35:46 +0100 Henrik Andersson wrote:

            
You could use a "ts" series with frequency 24, corresponding to hours
within a day. Alternatively, you can use the "zoo" or "zooreg" class
from package zoo along with POSIXct time stamps (or some other
user-defined format). See the vignette of the zoo package for more
details.
Z
#
In addition to prior suggestion look at:

http://cran.r-project.org/doc/contrib/Ricci-refcard-ts.pdf
http://zoonek2.free.fr/UNIX/48_R/15.html
http://cran.r-project.org/src/contrib/Views/
On 12/2/05, Henrik Andersson <h.andersson at nioo.knaw.nl> wrote: