infectionODEs | R Documentation |
Run the SEIR model for the given parameters
infectionODEs(population, initial_infected, vaccine_calendar, contact_matrix, susceptibility, transmissibility, infection_delays, interval = 7, dates = NULL)
population |
The population size of the different age groups, subdivided into risk groups |
initial_infected |
The corresponding number of initially infected |
vaccine_calendar |
A vaccine calendar valid for that year |
contact_matrix |
Contact rates between different age groups |
susceptibility |
Vector with susceptibilities of each age group |
transmissibility |
The transmissibility of the strain |
infection_delays |
Vector with the time of latent infection and time infectious |
interval |
Optional: interval (in days) between data points (used if dates are not provided) |
dates |
Optional: dates to return values for. |
A data frame with number of new cases after each interval during the year
infectionODEs.cpp
Used internally by this function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.