Skip to content

GeoPressure/GeoMagR

Repository files navigation

GeoMagR

Lifecycle: stable R-CMD-check pkgdown.yaml jarl format Codecov test coverage DOI

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, cite both:

  • the methods paper for the geolocation approach
  • the GeoMagR package for the software release you used

Nussbaumer, R., Bächler, E., Liechti, F., Briedis, M., Dufour, P., Rime, Y., Capilla-Lasheras, P., Wong, J. B., Holland, R., & Helm, B. (2026). Geolocation with a magnetic sensor. Methods in Ecology and Evolution, 00, 1–13. https://doi.org/10.1111/2041-210x.70355

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

In R, run citation("GeoMagR") for the package citation.

About

Geolocation by Magnetic Field

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages