Skip to contents

Model functions

model_default()
Model an SEIR-V epidemic with interventions
model_diphtheria()
Model a diphtheria outbreak using a compartmental ODE model
model_ebola()
Model an Ebola virus disease epidemic
model_vacamole()
Model leaky, two-dose vaccination in an epidemic using Vacamole

Intervention

as.intervention()
Convert a list to a intervention object
.intervention_on_rates()
Apply interventions to rate parameters
intervention() is_intervention() is_contacts_intervention() is_rate_intervention() c(<contacts_intervention>) c(<rate_intervention>)
Create an intervention for an epidemic model
print(<intervention>) print(<contact_intervention>) print(<rate_intervention>)
Print an object of the <intervention> super-class

Population

population() is_population()
Construct a new population for an epidemic model
print(<population>)
Print a <population> object

Vaccination

as.vaccination()
Convert a list to a vaccination object
print(<vaccination>)
Print a <vaccination> object
vaccination() is_vaccination() c(<vaccination>)
Construct a new vaccination regime for an epidemic model

Helper functions

Functions to help with handling package classes and outputs.

epidemic_size()
Get the epidemic size
epidemic_peak()
Get the time and size of a compartment's highest peak
new_infections()
Get new infections over model time

Scenario comparison

Functions to help with comparing intervention scenarios.

outcomes_averted()
Calculate outcomes averted by interventions