Hello,

I am currently trying to determine which interpolation method would best fit my GPS tracks. My "model" track has a 100 high quality consecutive locations with no gap and I excluded first random unique locations and then a number of consecutive points starting at a random position, to assess how accurate the different methods are.

I have tested linear interpolation (from move package) and correlated random walk using the method described in Technitis et al. 2015 (spacetime package).

I would like now to test a few curvilinear methods (e.g. exact cubic, natural splines, bezier...), but I can't find a spline or Bezier function that simply fills the gaps in my GPS tracks based on the missing timestamps. The spline function from base R collapses the results to a unique x value, which is not what I want obviously. Dr. Jed Long's package interpolatepathR would have been ideal if I only had a few unique fixes to interpolate, but I have far too many, and the package doesn't seem to handle long tracks (like my model track or longer).

So, does anyone knows of a package in R (I do not have access to Matlab) that handles spline and other curvilinear interpolation for (animal) paths, filling gaps (missing timestamps) from imperfect GPS data?

Thank you for your time,

Chloé

More Chloé Warret Rodrigues's questions See All
Similar questions and discussions