patter: Particle algorithms for animal tracking in R and Julia

Edward Lavender*, Andreas Scheidegger, Carlo Albert, Stanisław W. Biber, Janine Illian, James Thorburn, Sophie Smout, Helen Moor

*Corresponding author for this work

Research output: Contribution to journalArticle (Academic Journal)peer-review

1 Citation (Scopus)

Abstract

1. State-space models are a powerful modelling framework in movement ecology that represents individual movements and the processes connecting movements to observations. However, fitting state-space models to animal-tracking data can be difficult and computationally expensive.

2. Here, we introduce patter, a package that provides particle filtering and smoothing algorithms that fit Bayesian state-space models to tracking data, with a focus on data from aquatic animals in receiver arrays. patter is written in R, with a performant Julia backend. Package functionality supports data simulation, preparation, filtering, smoothing and mapping.

3. In two examples, we demonstrate how to implement patter to reconstruct the movements of a tagged animal in an acoustic telemetry system from acoustic detections and ancillary observations. With perfect information, the particle filter reconstructs the true (unobserved) movement path (Example One). More generally, particle algorithms represent an individual's possible location probabilistically as a weighted series of samples (‘particles’). In our illustration, we resolve an individual's (unobserved) location every 2 min during 1 month and use particles to visualise movements, map space use and quantify residency (Example Two).

4. patter facilitates robust, flexible and efficient analyses of animal-tracking data. The methods are widely applicable and enable refined analyses of space use, home ranges and residency.
Original languageEnglish
Pages (from-to)1609-1616
Number of pages8
JournalMethods in Ecology and Evolution
Volume16
Issue number8
Early online date3 Apr 2025
DOIs
Publication statusE-pub ahead of print - 3 Apr 2025

Bibliographical note

Publisher Copyright:
© 2025 The Author(s). Methods in Ecology and Evolution published by John Wiley & Sons Ltd on behalf of British Ecological Society.

Keywords

  • package
  • passive acoustic telemetry
  • state‐space model
  • movement ecology
  • Bayesian inference
  • particle filter

Fingerprint

Dive into the research topics of 'patter: Particle algorithms for animal tracking in R and Julia'. Together they form a unique fingerprint.

Cite this