Navigating through the R packages for movement

Are you doing research in movement ecology and an R user? Do you wonder sometimes about which packages to use? Or are you a developer and want to know how your package integrates to the current landscape of packages for movement analysis? Then, this review of R packages for movement is for you! Here is an extended abstract of our review:

As many of you know, the advent of biologging devices has provided ecologists with unprecedented opportunities to record animal movement across scales, and led to the collection of ever-increasing quantities of tracking data. In parallel, sophisticated tools to process, visualize and analyze tracking data have been developed in abundance. Within the R software alone, we listed 57 packages focused on these tasks, here called tracking packages.

We defined the tracking packages as those created to either analyze tracking data (i.e. $(x,y,t)$) or to transform data from tagging devices into proper tracking data. For instance, a package that would use accelerometer, gyroscope and magnetometer data to reconstruct an animal’s trajectory via path integration, thus transforming those data into an $(x,y,t)$ format, would fit into the definition. But a package analyzing accelerometry series to detect changes in behavior would not fit. We made a small section to mention these biologging but not tracking packages, but the review is not centered on them.

We prepared the review as an introduction to this set of packages for researchers, and to provide feedback and recommendations to package developers, from a user perspective. We described each package based on a workflow centered around tracking data, broken down in three stages: pre-processing, post-processing, and analysis (data visualization, track description, path reconstruction, behavioral pattern identification, space use characterization, trajectory simulation and others).

Supporting documentation is key to the accessibility of a package for users. Based on a user survey, we reviewed the quality of packages’ documentation, and identified 12 packages with good or excellent documentation. (Disclaimer: the results of the survey here as also preliminary. Read the next post about the survey for more details.)

Links between packages were assessed through a network graph analysis. Although a large group of packages shows some degree of connectivity (either depending on functions or suggesting the use of another tracking package), a third of tracking packages work in isolation, reflecting a strong fragmentation in the R Movement-Ecology programming community.

Tracking the packages Tracking the packages

Finally, we provide recommendations for users to choose packages, and for developers to maximize usefulness of their contribution and strengthen the links between the programming community.

This is only a preliminary version of the manuscript. Please feel free to leave as a comment about the review or to contact me at



comments powered by Disqus