| ageCoverage | R Documentation | 
Get age-specific coverage-rates
ageCoverage(
  ages,
  routine_coverage,
  vaccine_efficacy_nosexdebut,
  vaccine_efficacy_sexdebut,
  campaigns,
  lifetab,
  cohort,
  agevac,
  country_iso3 = NULL
)
| 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 | 
Data.table with coverage and effective coverage by age. Used in RunCohort()
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.