getVaccineUptakeMultiplierFromCoverage: Get vaccine uptake multiplier from overall vaccine coverage...

Description Usage Arguments Value Author(s)

View source: R/getVaccineUptakeMultiplierFromCoverage.R

Description

Calculates vaccine uptake multipliers suitable for use in flumodels::SEIRVModel. It takes vaccine coverage by age group (e.g., 65 relative uptakes for arbitrary age bins.

Usage

1
2
3
4
5
6
7
8
getVaccineUptakeMultiplierFromCoverage(
  ages,
  population = flumodelsutil::flumodelsutil_data$population.US %>% dplyr::filter(YEAR
    == year & MONTH == 1 & AGE != 999) %>% dplyr::select(AGE, TOT_POP),
  year = 2015,
  originalCoverage,
  originalCoverageAges
)

Arguments

ages

Vector of ages. Each element represents the upper range of an age range. The lowest bound is presumed to be zero. If the oldest age does not reach the end of the population range, an additional element is added to span the full range. The final age bracket cannot start after the final bracket of originalContactMatrixAges.

population

Population data frame that contains age and population values. Defaults to 2015 US population. The two required columns of the data frame are AGE and TOT_POP

year

Year to sample population from. Defaults to 2015.

originalCoverage

Original coverage fraction of vaccine, by age group.

originalCoverageAges

Ages associated with originalCoverage Must be in same format as ages.

Value

Vector of vaccine uptake multipliers.

Author(s)

Matt Clay <clay.matt@gmail.com>


HHS/ASPR-flumodelsutil documentation built on Dec. 31, 2020, 12:58 p.m.