Functions and Data for the Book 'Applied Hierarchical Modeling in Ecology' Vols 1 and 2
Overview
Provides functions to simulate data sets from hierarchical ecological models, including all the simulations described in the two volume publication 'Applied Hierarchical Modeling in Ecology: Analysis of distribution, abundance and species richness in R and BUGS' by Marc Kéry and Andy Royle: volume 1 (2016, ISBN: 978-0-12-801378-6) and volume 2 (2021, ISBN: 978-0-12-809585-0), https://www.mbr-pwrc.usgs.gov/pubanalysis/keryroylebook/. It also has all the utility functions and data sets needed to replicate the analyses shown in the books.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-23
- NOTE13 OK, 1 NOTE2026-04-12
- OK14 OK2026-03-13
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-03-12
- OK14 OK2026-03-10
Documentation
- Help pages
- 85includes a package overview page
- Examples that run
- 100%75 run in a plain check
- Exported functions with examples
- 84%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 93%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Issues over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/ecoverser/ahmbook on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing AHMbook adds 9 packages (7 with compiled code, 9.0 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, unmarked 1.2 MB.
Code & Tests
Datasets
People & History
Show 15 more peopleHide 15 people
Previously maintained by Mike Meredith (0.1.3 to 0.2.6).
Show 4 peopleHide 4 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.12Latest
- RR 4.5.0 released · 2025-04-11
- 0.2.102024-09-11 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.2.92023-08-23 · diff ↗
- RR 4.3.0 released · 2023-04-21
- unarchivedReturned to CRAN2022-06-14
- 0.2.62022-06-14 · diff ↗
- archivedRemoved from CRAN2022-05-04requires archived package 'RandomFields'
- 0.2.5
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.2.32021-05-17 · diff ↗
- 0.2.2
- 0.2.02020-06-09 · diff ↗ ·
removed 1 export
spatial.expadded 32 exports
simNpC, simPH, simPOP, graphSSM, simDM0, simDM, simMultMix, simCJS, ch2marray, simDemoDynocc, valid_data, modSelFP, getLVcorrMat, getEcorrMat, simDynoccSpatial, simExpCorrRF, simPPe, simDataDK, simDataDK1, simSpatialDSline, simSpatialDSte, simNmixSpatial, simOccSpatial, simDSM, zinit, standardize, standardize2match, rampYOR, rampGreens, rampGreys and 2 more
Package metadata
- First published
- 2017-04-20
- Total releases
- 10 / 9 yrs
- License
- GPL (>= 3) OSI
- Copyright
- See COPYRIGHTS in the package
- Minimum R
- ≥ 2.10
- Bundled data
- 1.5 MB / 27 files
- Download size
- 1.7 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("AHMbook")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.