[R] time zone - best way to shift hours

From: DCC <d.c.carslaw_at_its.leeds.ac.uk>
Date: Thu, 24 Jul 2008 01:59:22 -0700 (PDT)

I frequently work with hourly data in GMT format, and ensure that any data I read into R are expressed in GMT through as.POSIXct(mydate, tz = "GMT").

I am interested in processing air pollution data in GMT where where peaks in emissions (say from road traffic sources) tend to occur at the same LOCAL time each day. I am interested in calculating mean concentrations by hour of day i.e. a diurnal profile, consisting of 24 hourly means. The profile would be clearer if all hours were in local time e.g. the daylight saving hours were shifted by +1 hour. This would ensure that the summer and winter profiles match up with those in emissions.

I've looked though the various R documents/forum, but can't seem to identify the easiest approach to this.

Any suggestions?

Many thanks.

David

-- 
View this message in context: http://www.nabble.com/time-zone---best-way-to-shift-hours-tp18627900p18627900.html
Sent from the R help mailing list archive at Nabble.com.

	[[alternative HTML version deleted]]

______________________________________________
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 Thu 24 Jul 2008 - 09:30:36 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 24 Jul 2008 - 10:33:01 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