Skip to contents

GeoMagR is an R package to estimate animal geolocation based on triaxis magnetic field measurements, including:

  • Magnetic calibration: Correct magnetic distortion using field-data or in-vitro data.
  • Likelihood map estimation: Compute spatial likelihood maps using the World Magnetic Model (WMM), comparing observed and known intensity and inclination.
  • Interactive visualization: Explore raw and calibrated magnetic data with dedicated interactive plots.

GeoMagR is designed to work seamlessly with GeoPressureR, enabling high-resolution migratory track reconstruction using multi-sensor archival tags.

📦 Installation

To install the latest version from GitHub:

# install.packages("pak")
pak::pkg_install("GeoPressure/GeoMagR")

📘 Vignettes

For full workflows, see the vignettes:

📚 Citation

If you use GeoMagR in your research, please cite:

Nussbaumer, R. (2025). GeoMagR: Geolocation by Magnetic Field. Zenodo. https://doi.org/10.5281/zenodo.19217183. Available at: https://github.com/GeoPressure/GeoMagR

For citation information in R with citation("GeoMagR")