SIRSample | R Documentation |
A small dataset containing points generated from a simple deterministic SIR model. The model contains three input parameters, and generates three output parameters. The initial populations are 950 susceptible (S), 50 infected (I), and 0 recovered (R). The final values are taken at time t=10.
SIRSample
A list of two data frames. The first has 30 rows and 6 variables, the second 60 rows and 6 variables. The structure is the same in both cases:
Infection: transition rate from S to I
Recovery: transition rate from I to R
Waning immunity: transition rate from R to S
Final number of S
Final number of I
Final number of R
The model operates using simple differential equations, where
S' = aSR*R - aSI*S*I/(S+I+R)
I' = aSI*S*I/(S+I+R) - aIR*I
R' = aIR*I - aSR*R.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.