Package: imuGAP 0.2.0

Carl Pearson

imuGAP: Immunity: Geographic and Age-Based Projection

Fits Bayesian hierarchical models of vaccine coverage by location, birth cohort, and age. Observations of vaccination status (which may span cohorts, ages, and doses) are used to fit a latent survival-style process model that decomposes coverage into a lifetime propensity to vaccinate and a time-varying force of vaccination. Hierarchical spatial structure (e.g., state, county, school) supports partial pooling via random effects. Models are implemented in 'Stan' and fit via 'rstan'. Provides helpers to validate user-supplied input data, and to predict coverage from fitted models.

Authors:Carl Pearson [aut, cre], Claire Perrin Smith [aut], Kelly Zhen [ctb], Weston Voglesonger [ctb], Joshua Chen [ctb], Minjae Kung [ctb]

imuGAP_0.2.0.tar.gz
imuGAP_0.2.0.zip(r-4.7-x86_64)imuGAP_0.2.0.zip(r-4.7-arm64)imuGAP_0.2.0.zip(r-4.6-x86_64)imuGAP_0.2.0.zip(r-4.6-arm64)
imuGAP_0.2.0.tar.gz(r-4.7-arm64)imuGAP_0.2.0.tar.gz(r-4.7-x86_64)imuGAP_0.2.0.tar.gz(r-4.6-arm64)imuGAP_0.2.0.tar.gz(r-4.6-x86_64)
imuGAP_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
imuGAP/json (API)

# Install 'imuGAP' in R:
install.packages('imuGAP', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/accidda/imugap/issues

Pkgdown/docs site:https://accidda.github.io

Uses libs:
  • onetbb– Parallelism library for C++
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

onetbbcpp

3.38 score 12 scripts 224 downloads 10 exports 51 dependencies

Last updated from:850a5c8791. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK295
linux-devel-x86_64OK378
source / vignettesOK506
linux-release-arm64OK332
linux-release-x86_64OK339
windows-devel-arm64OK441
windows-devel-x86_64OK386
windows-release-arm64OK412
windows-release-x86_64OK338
wasm-releaseOK251

Exports:canonicalize_locationscanonicalize_observationscanonicalize_populationscanonicalize_targetcreate_observation_populationscreate_targetextract_imugapimugap_optionssamplingstan_options

Dependencies:abindbackportsBHcallrcheckmateclicpp11data.tabledescdistributionalfarverflexstanrgenericsggplot2gluegridExtragtableinlineisobandlabelinglifecycleloomagrittrmatrixStatsnumDerivotelparallellypillarpkgbuildpkgconfigposteriorprocessxpsQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsS7scalesStanHeaderstensorAtibbleutf8vctrsviridisLitewithr

Flexible Location Layers in imuGAP
Overview | The Example Location Hierarchy | 2. Fitting the Model | 3. Using the Fits to Predict Coverage | 4. Comparing Different Resolution Fits | County-Level Coverage Across Data Resolutions | Force of Vaccination ($\lambda$) Estimation | Conclusion

Last update: 2026-09-02
Started: 2026-09-02

imuGAP, Immunity: Geographic & Age-based Projection
Introduction | Walkthrough of Basic Usage | 1. Preparing and Validating the Input Data | Location Hierarchy (locations_sim) | Coverage Observations (observations_sim) | Observation Metadata (populations_sim) | Validation Failure Examples | 2. Exploring the Synthetic Dataset and Latent Features | State-Level Observations & Latent Propensity | County-Level Observations & Offsets | School-Level Observations Across Counties | 3. Fitting the Model | Basis Spline Coefficients ($\beta_{\text{bs}}$) | Hierarchy Layer Variances ($\sigma$) | Vaccination Uptake Rates ($\lambda_{\text{raw}}$) | 4. Defining a Target for Predictions | 5. Predicting Coverage

Last update: 2026-09-02
Started: 2026-06-22