d.river: Chemical Compounds in a Swiss River, Time Series

d.riverR Documentation

Chemical Compounds in a Swiss River, Time Series

Description

This time series of chemical concentrations can be used to research the activities of photosynthesis and respiration in a river.

Usage

data("d.river")

Format

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

Note

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.

Source

The measurements have been collected in the river Glatt near Zurich.

Examples

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"))

plgraphics documentation built on Oct. 19, 2023, 3 p.m.