Description Usage Arguments Details Examples
View source: R/reinfectionModel.R
Create a ReinfectionModel object, which determines whether and how individuals may return to the susceptible population after an infection runs its course.
1 2 3 4 5 6 | ReinfectionModel(
reinfectMode = c("SEIR", "SEIRS", "Fixed"),
X_prs = NA,
priorPrecision = NA,
priorMean = NA
)
|
reinfectMode |
a string equal to one of: |
X_prs |
a $T$ by $p$ design matrix, which must be specified for SEIRS and Fixed models. |
priorPrecision |
the prior precisions for each of the reinfection parameters |
priorMean |
the prior means for each of the reinfection parameters |
SEIR models are probably the most commonly employed version of compartmental epidemic models today, and are specified using a simple SEIR reinfection model (i.e., a model which introduces no reinfection process). On the other hand, there are some diseases which must be modeled more flexibly, for individuals are not permanently (over the course of a typical study period) removed from the susceptible population by immunity or death after an infection.
1 | reinfectionModel = ReinfectionModel("SEIR")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.