Skip to content

Repository files navigation

drmr drmr website

R-CMD-check Lifecycle: experimental

Warning: If working on a MacOS (or Linux) machine, one should install data.table and cmdstanr from source in order to use the package. Otherwise, one get segmentation fault errors which are hard to debug (and also not a drmr, but rather a cmdstanr issue). To install a package from source, one should use:

install.packages("<package>", type = "source")

Moreover, we recommend installing instantiate from GitHub instead of CRAN.

drmr (pronounced drummer) is an R package for fitting dynamic range models to spatiotemporal data on species abundance. Dynamic range models are spatial population models in which demographic rates (e.g., reproduction or mortality) are influenced by the environment. Inference is carried out in a Bayesian framework via Markov Chain Monte Carlo (MCMC) samples available in Stan.

For details, please see Vignettes linked below and da Cunha Godoy et al. 2026.

Installation

The installation of the development version from GitHub can be done via

remotes::install_github("pinskylab/drmr")
## or devtools::install_github("pinskylab/drmr")

Vignettes

About

An R package for dynamic range (or process-based species distribution) models. This is an ongoing project, and we do not recommend using the package for serious analyses at this time.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages