SEIR | R Documentation |
Generate an SEIR model for an infection based on input parameters
SEIR( infection, duration, time_step, N, percent_susceptible, number_infectious, infection_data )
infection |
The name of the infection to model c("influenza", "COVID"). |
duration |
The length of time to model, in days (optional; 120). |
time_step |
The time between each model step, in days (optional; 1). |
N |
The total population size (optional; 10^6). |
percent_susceptible |
The initial susceptible population, as a percentage of N (optional; 100). |
number_infectious |
The initial number of infectious individuals (optional; 1). |
infection_data |
A list of key-value pairs with basic infection data. See simple_infections. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.