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

View source: R/temp.kalman.R

temp.kalmanR Documentation

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, ...)

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

Details

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

Value

a smoothed temperature time series

Author(s)

Ryan Batt

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


LakeMetabolizer documentation built on Nov. 16, 2022, 1:09 a.m.