bioRxivEcologyPreprint
Introducing flocker: an R package for flexible occupancy modeling via brms and Stan
Abstract
O_LIOccupancy models are a widespread tool for analyzing biological survey data, but packages for fitting these models offer a limited variety of effects structures. C_LIO_LIWe developed Rpackage flocker to connect occupancy models (single- and multi- species; single- and multi-season) to the uniquely powerful formula syntax of Rpackage brms. C_LIO_LIUsing familiar formula-based syntax, flocker models can readily incorporate a wide array of effects structures, including phylogenetic random effects, splines, Gaussian processes, autoregressive structures, monotonic effects, and nonlinear predictors. These are available for use in formulas for occupancy, detection, colonization, extinction, and autologistic terms (as applicable to the model type). flocker additionally provides functionality for data simulation, posterior prediction, and model comparison, following well-documented statistical decisions that we put forward as best practices. C_LIO_LIWe anticipate that flocker will facilitate the work of practitioners who seek added realism in occupancy models. We further hope that flockers synthesis of these models will help inform best practices around occupancy modeling. C_LI
- assay: metagenomics
- research focus: benchmarking
- research focus: software / tool
- approach: deep learning
- approach: statistical model
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Using fuzzy sets to deal with uncertainty in single-species, single-season occupancy models.
Malcolm L. McCallum·bioRxiv·Jun 22, 2018
- A Comment On Priors For Bayesian Occupancy Models
J. M. Northrup, B. D. Gerber·bioRxiv·May 17, 2017
- Analysis of biological record data: improvements of the occupancy-detection models
Shiyu Li·bioRxiv·Sep 8, 2018
- Failure to meet the exchangeability assumption in Bayesian multispecies occupancy models: Implications for study design
Gavin G. Cotterill, Douglas A. Keinath, Tabitha A. Graves·Ecology and EvolutionPeer-reviewed·Nov 1, 2025
- Mt or not Mt: Temporal variation in detection probability in spatial capture-recapture and occupancy models
R. Sollmann·bioRxiv·Aug 8, 2023
- Analysing biodiversity observation data collected in continuous time: Should we use discrete- or continuous-time occupancy models?
L. Pautrel, S. Moulherat, … M.-P. Etienne·bioRxiv·Nov 17, 2023