Create a historical vaccine schedule from data

vaccine_schedule_from_data(data, region, uptake, carehomes = TRUE)

Arguments

data

A data.frame with columns date, age_band_min, and numbered doses columns, e.g. if there are three doses these should be dose1, dose2 and dose3. Values of age_band_min should be either multiples of 5 or NA - the latter means those doses are not age-specific and will be distributed across all ages according to priority after all age-specific doses have already been dealt with

region

Region to use to get total population numbers

uptake

A matrix of 19 rows, and number of columns equal to number of doses. The (i,j)th entry gives the fractional uptake of dose j for group i. Should be non-increasing across rows

carehomes

Logical parameter, whether or not we have carehomes in the model. Default is TRUE

Value

A vaccine_schedule object