Learn R Programming

StreamMetabolism (version 1.1.3)

dC.dt: Change in Oxygen per time step

Description

Calculate the rate of change of Dissolved Oxygen

Usage

dC.dt(x)

Value

zoo series of Dissolved Oxygen Differences with an NA for the first value as there is no value before that to subtract

Arguments

x

Dissolved Oxygen time series

Author

Stephen A Sefick Jr.

Details

input zoo series takes the difference of DOt+1 - DOt

References

Odum, H. T. (1956). "Primary production in flowing waters." Limnology and Oceanography, 1: 102-117.

Examples

Run this code
data(DOTemp)
Diffconc <- dC.dt(DOTemp[,2])
plot(Diffconc)

Run the code above in your browser using DataLab