(Kinematic) Path Interpolation

Code for performing path interpolation in R.


Here I provide access to my code for performing path interpolation on movement trajectories in R. The methods are described in the paper 'Kinematic Interpolation of Movement Data' Long (2015) .

The goal of this website is to provide access to this R code, which I have developed for various applications. I hope that other researchers will find the R code useful in their own research applications. I appreciate any and all feedback you may have concerning the path interpolation code.

Should you have any further questions please contact me via email: jed.long AT st-andrews.ac.uk



Download Path Interpolation R Code

The PathInterpolatR package is currently in development, but you can download the latest version of the source code which can then be loaded into R from your local machine. DOWNLOAD

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:

  • linear interpolation
  • Bezier curves (Tremblay et al. 2006)
  • Catmull-Rom spline (Barry and Goldman 1988)
  • Time geography constrained random walk (Technitis et al. 2015)
  • 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.