Learn R Programming

LakeMetabolizer (version 1.5.5)

temp.kalman: Smooth temperature time series using a Kalman filter/ smoother

Description

Smoothes a temperature time series uses a Kalman filter/ smoother.

Usage

temp.kalman(wtr, watts, ampH=1, ...)

Value

a smoothed temperature time series

Arguments

wtr

Vector (regular time series) of water temperature in degrees C

watts

estimate of watts entering the layer at each time step, from watts.in

ampH

factor by which to artificially amplify the observation error variance, H

...

parameters to be passed to optim

Author

Ryan Batt

Details

basic model process is x[t] = beta*x[t-1] + c1*watts[t-1]

References

Batt, Ryan D. and Stephen R. Carpenter. 2012. Free-water lake metabolism: addressing noisy time series with a Kalman filter. Limnology and Oceanography: Methods 10: 20-30. doi: 10.4319/lom.2012.10.20

See Also

watts.in metab.kalman