Univariate and Multivariate Spatial Modeling of Species Abundance
Overview
Fits single-species (univariate) and multi-species (multivariate) non-spatial and spatial abundance models in a Bayesian framework using Markov Chain Monte Carlo (MCMC). Spatial models are fit using Nearest Neighbor Gaussian Processes (NNGPs). Details on NNGP models are given in Datta, Banerjee, Finley, and Gelfand (2016) doi:10.1080/01621459.2015.1044091 and Finley, Datta, and Banerjee (2022) doi:10.18637/jss.v103.i05. Fits single-species and multi-species spatial and non-spatial versions of generalized linear mixed models (Gaussian, Poisson, Negative Binomial), N-mixture models (Royle 2004 doi:10.1111/j.0006-341X.2004.00142.x) and hierarchical distance sampling models (Royle, Dawson, Bates (2004) doi:10.1890/03-3127). Multi-species spatial models are fit using a spatial factor modeling approach with NNGPs for computational efficiency.
- Fixed a
C++memory issue inpredict.spAbund()that could result in crashes under certain situations.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- WARNING12 OK, 1 WARNING2026-06-08
- OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 82
- Examples that run
- 100%43 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 27%
Downloads
Repository
Moved from biodiverse/spabundance.
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/biodiverse/spabundance on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing spAbundance adds 14 packages (7 with compiled code, 12 MB of source tarballs). Heaviest: lme4 4.3 MB, nloptr 2.1 MB, Rcpp 1.8 MB.
Code & Tests
Datasets
People & History
Package metadata
- First published
- 2023-10-20
- Total releases
- 5 / 3 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 62 KB / 6 files
- Download size
- 624 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("spAbundance")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.