d.river | R Documentation |
This time series of chemical concentrations can be used to research the activities of photosynthesis and respiration in a river.
data("d.river")
A time series with 9792 observations (10 minutes interval) on the following 12 variables.
date
Date of the observation, class Date
hour
Hour
pH
pH
O2
concentration of Oxygen
O2S
Oxygen saturation value
T
Temperature [deg C]
H2CO3
Carbon dioxide concentration in the water
CO2atm
Carbon dioxide concentration in the atmosphere
Q
flow
su
sunshine
pr
precipitation
ra
radiation
This is not a time series in the sense of ts
of R.
The date-time information is contained in the variables date
and
hour
.
The measurements have been collected in the river Glatt near Zurich.
data(d.river)
range(d.river$date)
t.i <- d.river$date < as.Date("2010-03-31")
plyx(~date, ~O2, data=d.river, subset=t.i & hour==14, smooth=FALSE)
d.river$Date <- gendateaxis(d.river$date, hour=d.river$hour)
plyx(O2~Date, data=d.river, subset=t.i, type="l")
plyx(O2+T+ra~Date, data=d.river, subset=t.i & hour==14,
smooth.par=0.5, smooth.xtrim=0.03, ycol=c(O2="blue",ra="red"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.