getVaccineUptakeMultiplierFromAllocation: Get vaccine uptake multiplier from overall vaccine allocation...

Description Usage Arguments Value Author(s)

View source: R/getVaccineUptakeMultiplierFromAllocation.R

Description

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

Usage

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

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.

originalAllocation

Original allocation fraction of vaccine, by age group.

originalAllocationAges

Ages associated with originalAllocation. 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.