Skip to content

AHMbook

0.2.12Package record

Functions and Data for the Book 'Applied Hierarchical Modeling in Ecology' Vols 1 and 2

0packages depend
7.4Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 4.9 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.2.12
README· In the repository, left out of the releaseVignettesNoNEWSYes · 33% structuredCitation fileNoWebsiteYes
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

7.4K
CRAN downloads in the past year
Rank #4,157 · ~20/day · ~620/mo
Daily download trend is not available in this view yet.
90430 days
2.1K90 days
7.4K1 year
Compare downloads with other packages →
Also on207 r2u25 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
0Releases
209Commits
5Commit identities
209 commits · Last activity 2026-04-14
Responsiveness
How these are sampled
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

2025-05-16 · 12026-07-07 · 1
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 2.10
Imports (7)
grDevicesgraphicsmethodsstatsutilsunmarked (>= 0.12.2)mvtnorm
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (40)
Contributor, Maintainer since 0.2.9 (2023) · added in 0.2.5
simIDS
Author · added in 0.2.0
Contributor · added in 0.2.0
Contributor · added in 0.2.0
Contributor, Data contributor · added in 0.2.0
treeSparrow
Contributor · added in 0.2.0
Contributor · added in 0.2.0
Contributor, Data contributor · added in 0.2.0
waterVoles
Contributor · added in 0.2.0
Contributor · added in 0.2.5
simOccCat
Data contributor, Copyright holder · added in 0.2.0
UKmarbledWhite, <https://butterfly-conservation.org>
Data contributor, Copyright holder · added in 0.2.0
UKmarbledWhite, <https://www.ceh.ac.uk>
Data contributor, Copyright holder · added in 0.2.0
UKmarbledWhite, <https://jncc.gov.uk/>
Data contributor, Copyright holder · added in 0.2.0
BerneseOberland, <http://www.bfs.admin.ch>
Data contributor, Copyright holder · added in 0.2.0
UKmarbledWhite, <https://www.ceh.ac.uk/our-science/projects/uk-butterfly-monitoring-scheme>
Data contributor · added in 0.2.12
SwissMarbledWhite
Data contributor · added in 0.2.0
willowWarbler, UKmarbledWhite, <https://www.bto.org/>
Data contributor · added in 0.2.0
wagtail, <https://www.sovon.nl>
Data contributor · added in 0.2.0
FrenchPeregrines
Data contributor · added in 0.2.0
HubbardBrook, <http://data.hubbardbrook.org/data/dataset.php?id=178>
Data contributor · added in 0.2.0
mesoCarnivores
Data contributor · added in 0.2.0
mesoCarnivores
Data contributor · added in 0.2.0
EurasianLynx, <https://www.progettolinceitalia.it>
Show 15 more peopleHide 15 people
Data contributor · added in 0.2.0
EurasianLynx, <https://www.kora.ch>
Data contributor · added in 0.2.0
<https://www.vogelwarte.ch>
Data contributor · added in 0.2.0
MesoCarnivores, <https://emammal.si.edu/>
Data contributor · added in 0.2.0
EurasianLynx
Data contributor · added in 0.2.0
duskySalamanders
Data contributor · added in 0.2.2
Finnmark
Data contributor · added in 0.2.0
MesoCarnivores
Data contributor · added in 0.2.0
cswa
Data contributor · added in 0.2.0
waterVoles
Data contributor · added in 0.2.0
EurasianLynx
Data contributor · added in 0.2.2
FrenchPeregrines
Data contributor · added in 0.2.0
MesoCarnivores
Data contributor · added in 0.2.0
FrenchPeregrines
Data contributor · added in 0.2.0
Data contributor · added in 0.2.0
EurasianLynx

Previously maintained by Mike Meredith (0.1.3 to 0.2.6).

Listed in earlier versions (4)
Show 4 peopleHide 4 people
no longer listed · 0.1.3 to 0.1.4
Jon-Andren Henden
no longer listed · 0.2.0
Réne-Jean Monneret
no longer listed · 0.2.0
Aargau Biodiversity Monitoring Program (LANAG) SwissMarbledWhite
no longer listed · 0.2.0 to 0.2.10
Releases (10)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.12Latest
    record
    2026-04-15 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.10
    record
    2024-09-11 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.9
    record
    2023-08-23 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • unarchivedReturned to CRAN
    2022-06-14
  • 0.2.6
    record
    2022-06-14 · diff ↗
  • archivedRemoved from CRAN
    2022-05-04
    requires archived package 'RandomFields'
  • 0.2.5
    record
    2022-05-02 · diff ↗ ·
    added 3 exports
    simHDSpoint, simIDS, simOccCat
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.3
    record
    2021-05-17 · diff ↗
  • 0.2.2
    record
    2020-10-26 · diff ↗ ·
    added 1 export
    simFrogDisease
  • 0.2.0
    record
    2020-06-09 · diff ↗ ·
    removed 1 export
    spatial.exp
    added 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
Show 7 earlier eventsHide 7 earlier events
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.4
    record
    2017-05-19 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.3
    record
    2017-04-20
  • R
    R 3.3.0 released · 2016-05-03

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")
Kellner, K., Aargau Biodiversity Monitoring Program (LANAG), British Ornithological Trust, Butterfly Conservation, Centre for Ecology & Hydrology, Dutch Centre for Field Ornithology (Sovon), Groupe Pèlerin Jura, Hubbard Brook Ecosystem Study, Joint Nature Conservation Committee (JNCC), North Carolina Museum of Natural Sciences, North Carolina State University, Progetto Lince Italia, Swiss Federal Statistical Office, Swiss Foundation KORA Carnivore Ecology and Wildlife Management (SCALP project), Swiss Ornithological Institute, UK Butterfly Monitoring Scheme (UKBMS), eMammal, Breitenmoser, U., Chandler, R., Dorazio, B., Grant, E., Henden, J., Kays, R., King, D., Kéry, M., Lambin, X., Meredith, M., Mizel, J., Molinari-Jobin, A., Monneret, R., Parsons, A., Royle, A., Ruffinoni, R., Schaub, M., Solmann, R., Strebel, N., Sutherland, C., Tobler, M., Zimmermann, F., & von Hirschheydt, G. (2026). AHMbook: Functions and Data for the Book 'Applied Hierarchical Modeling in Ecology' Vols 1 and 2 (Version 0.2.12) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for AHMbook version 0.2.12 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy