ageCoverage: Get age-specific coverage-rates

ageCoverageR Documentation

Get age-specific coverage-rates

Description

Get age-specific coverage-rates

Usage

ageCoverage(
  ages,
  routine_coverage,
  vaccine_efficacy_nosexdebut,
  vaccine_efficacy_sexdebut,
  campaigns,
  lifetab,
  cohort,
  agevac,
  country_iso3 = NULL
)

Arguments

ages

Numeric vector (required): ages in model

routine_coverage

Number (required): proportion of population that receives routine vaccination

campaigns

List or number (required): if a list, applies MAC vaccination (needs to change)

lifetab

Data.table (required): lifetable generated with lifeTable()

cohort

Number (required): cohort-size (only used in MAC campaigns)

agevac

Number (required): target age for vaccination

vaccine_efficacy

Number (required): proportion indicating vaccine-efficacy

Value

Data.table with coverage and effective coverage by age. Used in RunCohort()

Examples

ages <- c(0:100)
routine_coverage <- 0.75
vaccine_efficacy <- 0.8
lifetab <- lifeTable(unlist(data.mortall[iso3=="AFG", as.character(0:100),
  with=FALSE], use.names=FALSE), 9)
agevac <- 9
ageCoverage (ages, routine_coverage, vaccine_efficacy, -1,
  lifetab, cohort, agevac)

lshtm-vimc/prime documentation built on April 21, 2024, 3:21 a.m.