as.vaccination.calendar: Create a vaccination calendar object

View source: R/deprecated.R

as.vaccination.calendarR Documentation

Create a vaccination calendar object

Description

Renamed to as_vaccination_calendar

Usage

as.vaccination.calendar(efficacy = NULL, dates = NULL,
  coverage = NULL, legacy = NULL, no_risk_groups = NULL,
  no_age_groups = NULL, starting_year = NULL)

Arguments

efficacy

Vector holding the vaccine efficacy for each age group and risk group

dates

Vector containing the dates at which the coverage was measured.

coverage

Data frame with the fraction of coverage for each age and risk group in each column. Different rows are the different dates of measurements

legacy

An optional legacy object to convert. When passed a legacy object this function will sanity check the given object

no_risk_groups

The total number of risk groups (optional)

no_age_groups

The total number of age groups (optional)

starting_year

The year of the start of the season. Only used when passed a legacy file

Value

A list that contains the calendar and efficacy of the vaccine for that year

See Also

as_vaccination_calendar


MJomaba/flu-evidence-synthesis documentation built on April 26, 2022, 11:12 p.m.