move2utils: a utility toolkit for the move2 ecosystem
move2utils: a utility toolkit for the move2 ecosystem
Kranstauber, B.; Safi, K.; Scharf, A. K.
Abstract1. Studying animal movement at the population scale requires a stable, modern software substrate. Within R, the legacy move} package supplied that substrate for over a decade, but its sp/rgeos backbone has been retired. The successor package move2 deliberately confined its scope to the data class and core movebank API functions. 2. The analytical machinery of move, namely dynamic Brownian-bridge utilisation distributions, the directional bivariate-Gaussian variant, corridor segmentation, and along-track thinning, was left to port to the modern sf/terra stack. 3. We present move2utils, an R package that completes and complements that transition. move2utils provides move2-native ports of the move analytical functions, preserves the original C kernels where they exist, and replaces the deprecated spatial scaffolding around them. It additionally ports some of the legacy R-based code to faster C kernels to improve computational speed. move2utils also exposes novel outlier-detection methodology described in detail in a companion paper. 4. The package is open-source (GPL[≥]3), is developed on the MPCDF GitLab and mirrored on GitHub for public installation, and ships with vignettes and a CI-tested check suite. We illustrate it with a worked example on real tracking data and synthetic datasets.