Prepare vaccination data
spim_vaccination_data(
date,
region,
uptake,
days_to_effect,
data,
n_doses,
dose_start_dates,
carehomes = TRUE
)
The date of the data. This will be the final date
The region that we are fitting to. This will either
be one of the 10 NHS regions (one of
sircovid::regions("all")
), or an argument to that function
(e.g., all
)
A matrix of proportion uptake by age, with (i, j) th value being the uptake of dose j for group i. Must have 19 rows.
A vector of the number of days each dose is assumed to take to reach effect
Vaccination data (TODO: DESCRIBE CONTENTS)
Number of doses to include
A vector of the start dates for each dose. Any doses before the corresponding start date will be ignored
Logical parameter, whether or not we have carehomes in the model. Default is TRUE
A list suitable for passing to spim_pars
as
vaccination
, containing the new vaccination schedule
(important bits are efficacy
and schedule
, but other
elements may be used elsewhere)