egf_model | R Documentation |
Sets flags defining a top level nonlinear model of epidemic growth
to be estimated by egf
.
egf_model(curve = c("logistic", "richards", "exponential",
"subexponential", "gompertz"),
excess = FALSE,
family = c("nbinom", "pois"),
day_of_week = FALSE)
curve |
a character string specifying a model for expected cumulative incidence as a function of time. |
excess |
a logical flag. If |
family |
a character string specifying a family of discrete probability distributions assigned to observations, which are the first order differences of observed cumulative incidence. |
day_of_week |
an integer flag. If positive, then day of week effects are estimated as offsets relative to the indicated day of week (1=Sunday, 2=Monday, and so on). |
A list inheriting from class egf_model
containing the
validated arguments.
simulate.egf_model
.
model <- egf_model()
str(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.