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.

{imuGAP}, which stands for "Immunity: Geographic & Age-based Projection", provides a fitting and imputation / prediction tool for a process-based model of vaccination uptake.
Install the released version from CRAN:
install.packages("imuGAP")
Or install the development version from GitHub:
remotes::install_github("ACCIDDA/imuGAP")
Requires R >= 4.1.0 and a C++ toolchain (for Stan model compilation).
The {imuGAP} sampler fits two model effects: a lifetime tendency towards vaccination and a time varying force of vaccination. To fit those effects, the model evaluates observations which may combine many populations. The model distinguishes populations by place, birth timing, and age.
The model organizes places into a hierarchy, for example a state which contains counties which in turn contain cities. The effects in a particular place combine the impact of all enclosing locations.