The following R code may be used for estimating the position (and velocity) of a moving object by means of the Kalman filter.

The R code uses the Kalman filter implemented in the dlm package. Continue reading R code for estimating the position of a moving object using the Kalman filter