View source: R/forecasting_practical.R
solve_seir_model | R Documentation |
solve_seir_model
solves the SEIR model for the weekly incidence
solve_seir_model(
R_0,
latent_period,
infectious_period,
N,
I_0,
n_weeks,
S_0 = N - I_0,
E_0 = 0,
full_output = FALSE
)
R_0 |
numeric vector of length 1: basic reproduction number |
latent_period |
numeric vector of length 1: latent period |
infectious_period |
numeric vector of length 1: infectious period |
N |
numeric vector of length 1: population size |
I_0 |
numeric vector of length 1: initial number of infectious individuals |
n_weeks |
numeric vector of length 1: number of weeks for which to solve the model |
data frame with predicted points and original data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.