sirv.Rd
sirv()
simulates a SIR model with vaccinations, a variant type with
increased transmissibility, and a variant type with immunity resistance. For
simplicity, vaccine- and naturally-acquired immunity are considered
equivalent.
Date
or coercible to Date
. The start date for simulation.
Date
or coercible to Date
. The end date for simulation.
numeric
.
The observed reproduction number at the start of simulation;
assumed constant other than population and variant effects.
numeric
. The baseline reproduction number of the non-variant
strains. If this is supplied, rt
is ignored.
numeric
. The size of the population being modeled.
numeric
.
The observed number of active cases at the start of simulation.
numeric
.
The observed number of total cases at the start of simulation.
numeric
.
The number of vaccinated people at the start of simulation.
numeric
.
The number of people vaccinated per day during simulation.
numeric
between 0
and 1
.
The fraction of vaccinated people vaccinated who have never had COVID
(i.e. are in the susceptible, or "S", compartment).
numeric
between 0
and 1
.
Efficacy of vaccination and natural immunity for non-resistant variants.
numeric
between 0
and 1
.
Efficacy of vaccination and natural immunity for resistant variants
(with the E484K mutation).
numeric
between 0
and 1
.
Percent of active cases that are variants of some form.
numeric
between 0
and 1
.
Percent of variants that are B.1.1.7 (UK) variant or similarly highly
transmissible. Assumed to not overlap with pct_var_ek
.
numeric
between 0
and 1
.
Percent of variants that possess the E484K mutation (vaccine resistance).
Assumed to not overlap with pct_var_uk
.
numeric
between 0
and 1
.
The percent of true cases detected; applies to both past and future cases.
A tibble
with columns
time <date>
, S <dbl>
, I <dbl>
, R <dbl>
,
pct_uk <dbl>
, pct_ek <dbl>