View source: R/forecasting_practical.R
fit_seir | R Documentation |
fit_seir
fits an SEIR model to incidence data
fit_seir(incidence_data, current_week, starting_week, R_0_min, R_0_max)
incidence_data |
data frame extracted by |
current_week |
numeric vector of length 1: week number of the current week |
starting_week |
numeric vector of length 1: guess for week number when the epidemic started. Use data from starting week to current week to predict |
R_0_min |
numeric vector of length 1: lower bound of R_0 values over which to search |
R_0_max |
numeric vector of length 1: upper bound of R_0 values over which to search |
the value of R_0 with the maximum likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.