multigroup.vaccine0.1.1 package

Analyze Outbreak Models of Multi-Group Populations with Vaccination

aggregateByAgeGroups

Aggregate population counts into age groups

contactMatrixAgeSchool

Calculate a contact matrix for age groups and schools

contactMatrixPolymod

Calculate a contact matrix for age groups based on Polymod contact sur...

contactMatrixPropPref

Calculate group contact matrix with proportional mixing and preferenti...

disaggregateCityAges

Disaggregate ACS 5-year age groups into single-year ages

finalsize

Calculate final outbreak size or distribution of a multigroup transmis...

getCensusData

Get Census Population Data by Age and County

getCensusDataPath

Get path to example census data file

getCityData

Get City Population Data by Age

getFinalSizeAnalytic

Calculate final size of outbreak: the total number of infections in ea...

getFinalSizeDist

Estimate the distribution of final outbreak sizes by group using stoch...

getFinalSizeDistEscape

Estimate the distribution of final outbreak sizes by group using a hyb...

getFinalSizeODE

Calculate outbreak final size, the total number of infections in each ...

getSizeAtTime

Calculate outbreak size at a given time

getStateFIPS

Get state FIPS code by state name

listCounties

List available counties for a state

odeSIR

Ordinary differential equation function for multi-group susceptible-in...

processCensusDataBySex

Process census data with sex disaggregation

processCensusDataTotal

Process census data without sex disaggregation

run_my_app

Runs the shiny app

transmissionRates

Calculate transmission rate matrix for multi-group model with specifie...

vaxrepnum

Calculate reproduction number for a multigroup model with a given stat...

Model infectious disease dynamics in populations with multiple subgroups having different vaccination rates, transmission characteristics, and contact patterns. Calculate final and intermediate outbreak sizes, form age-structured contact models with automatic fetching of U.S. census data, and explore vaccination scenarios with an interactive 'shiny' dashboard for a model with two subgroups, as described in Nguyen et al. (2024) <doi:10.1016/j.jval.2024.03.039> and Duong et al. (2026) <doi:10.1093/ofid/ofaf695.217>.

  • Maintainer: Damon Toth
  • License: MIT + file LICENSE
  • Last published: 2026-02-09 20:10:05 UTC