Skip to main content
drmr: A Bayesian approach to Dynamic Range Models in R

drmr: A Bayesian approach to Dynamic Range Models in R

This is a Preprint and has not been peer reviewed. This is version 2 of this Preprint.

Add a Comment

You must log in to post a comment.


Comments

There are no comments or no comments have been made public for this article.

Downloads

Download Preprint

Authors

Lucas da Cunha Godoy , Alexa Fredston , R.M.W.J Bandara, Mark M. Morales, Malin Pinsky

Abstract

Predicting how species distributions will respond to environmental change is a critical challenge. Dynamic Range Models (DRMs) offer a powerful mechanistic approach by explicitly modeling the influence of environmental drivers on demographic processes. However, the widespread adoption of DRMs has been hindered by their inherent complexity and a critical gap in the available software. While many tools can simulate range dynamics, none provide a user-friendly framework to statistically estimate the functional relationships between environmental conditions and demographic rates from spatio-temporal data. To make this approach more accessible, we introduce drmr, an open-source R package for building, fitting, evaluating, and forecasting age-structured DRMs within a user-friendly Bayesian framework. From spatio-temporal species observations, the drmr package allows users to explicitly estimate how environmental drivers affect demographic processes such as recruitment and survival. We demonstrate the package's utility through case studies on summer flounder (Paralichthys dentatus) and red-bellied woodpecker (Melanerpes carolinus). In both cases, we fit DRMs with environment-dependent recruitment and survival. Additionally, we show how the package visualizes estimated relationships between environmental conditions and demographic rates. The drmr package bridges a critical gap between complex, process-explicit models that are parameterized a priori, and statistically accessible correlative models that are easily fit to data. By lowering the barrier to entry, it provides a powerful and accessible tool for ecologists to test mechanistic hypotheses and generate more robust ecological forecasts in the face of global change.

DOI

https://doi.org/10.32942/X2VT0N

Subjects

Biodiversity, Other Ecology and Evolutionary Biology

Keywords

Climate change, Spatial prediction, Spatio-temporal modeling, Species distribution

Dates

Published: 2026-04-14 12:39

Last Updated: 2026-04-14 12:39

Older Versions

License

CC-BY Attribution-NonCommercial 4.0 International

Additional Metadata

Conflict of interest statement:
None

Data and Code Availability Statement:
https://github.com/pinskylab/drmr_paper

Language:
English