PathInterpolatR

Code for performing path interpolation on movement trajectories in R. The methods are described in the paper 'Kinematic Interpolation of Movement Data' Long (2015).

Download Path Interpolation R Code

Also, be sure to check out the documentation associated with the PathInterpolatR package for more detailed instructions. I will hopefully have a vignette available soon.

The code contains functions to perform path interpolation in R using the following methods:

  1. linear interpolation
  2. Bezier curves (Tremblay et al. 2006)
  3. Catmull-Rom spline (Barry and Goldman 1988)
  4. Time geography constrained random walk (Technitis et al. 2015)
  5. kinematic interpolation (Long 2015)

 

References

Long, JA (2015) Kinematic interpolation of movement data. International Journal of Geographical Information Science. DOI: 10.1080/13658816.2015.1081909.

Tremblay, YC et al. (2006) Interpolation of animal tracking data in a fluid environment. Journal of Experimental Biology. 209(1): 128-140.

Technitis, G. et al. (2015) From A to B, randomly: A point-to-point random trajectory generator for animal movement. International Journal of Geographical Information Science. 29(6): 912-934.

Barry, PJ, Goldman, RN (1988) A recursive evaluation algorithm for a class of Catmull-Rom splines. ACM SIGGRAPH Computer Graphics. 22(4): 199-204.