search for: diurnal

Displaying 7 results from an estimated 7 matches for "diurnal".

2008 Jul 28
1
Interpolating a line and then summing there values for a diurnal oxygen curve (zoo object)
#I would like to interpolate a straight line between 06/08/06 04:16:00 - 06/08/06 20:31:00 with values and then sum them. This is an estimate of ecosystem #respiration and I will be using this in a larger context(48 days of these diurnal curves), but for right now I am just trying to figure out how to do it for this one #day example. I have some other code for Ecosystem (stream) Metabolism that I am trying to work up into a package, but I am still assembling the pieces. #thanks for all of your help library(chron) library(zoo) z &...
2009 Jun 19
2
Splitting Data by Row
...veral Behaviours What i want to do is get an activity budget for ID from these data, e.g: data <- tapply(Behaviour,list(ID,Behaviour),length) This will give me a count of the number of times an ID does a certain behaviour for all the data, which is great - but i want to work out seasonal and diurnal activity budgets too, therefore i need to break the data down not just by ID but by day and time, too - I've searched on here and found nothing i could adapt to my data - it may be that i can't see quite how the code would work and i've overlooked something of importance! If anyone can...
2009 Apr 10
2
Plot legend
...ny suggestions or if you could point me to a help page that i may have missed, I would greatly appreciate it. a bit of my code is below: thanks- sherri plot(CO2ppm_1$CO2_ppm,ylim=c(-7,10), axes = FALSE,type="b",pch=16,cex=1,col="skyblue4",main="TC (Model AM2t) SPL Mean Diurnal Cycle",xlab="Hours (GMT)",ylab="CO2(ppm)",col.main="black",font.main=4,lwd=1.8,col.lab="black",col.sub="Black") points(CO2ppm_2$CO2_ppm,type="b",pch=16,col="green") points(CO2ppm_3$CO2_ppm,type="b",pch=16,col=&quo...
2008 Jul 24
1
time zone - best way to shift hours
...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/foru...
2008 Aug 08
2
aggregate
...2005 09 02 23 2.6 9.5 17.8 374.829 374.946 374.563 0.543 1.107 0.429 -0.383 PRE I would like to obtain the hourly (named "hr" above) average of co23 - e.g. for all years (the dataset actually extends from 2005 - present), all months and all days - i would like to get an average of the diurnal cycle. preferably the result would look something akin to this: hour co23(avg) 0 395.345 (e.g.) 1 and so on.... 2 3 4 5 6 7 8 9 10 .. .. 23 I have tried for loops, but I can't seem to get that to work and for the past 1.5 days I have been trying to use "aggregate&...
2009 Jul 24
1
how to calculate growth rate of a variable
Dear R Users, If a variable, say CO2(ppm), is varying with time. Then how to calculate CO2 (ppm) growth rate /a-1 I have CO2 time series (1991-2000), as: time, year, month, day, hour, min, sec, lat, long, height, CO2 1991.476722 1991 6 24 0 5 0 -38.93 145.15 4270 353.680 1991.476741 1991 6 24 0 15 0 -39.20 145.22 4270 353.950 1991.476747 1991 6 24 0 18 0 -39.43 145.28 4270 353.510
2007 May 01
2
Polar graph of time and tide
I have been trying to visualize times of lowest tides, month by month. I have tide predictions with times either in unix time or a text format, and heights in feet or meters. I had been able to derive the clock times of each prediction. I would now like to graph this data with points showing heights as "r" and times as "theta", from 0000 to 2355. There is a seasonal