This is a stochastic (SIR)-> (SIR) model (two sets of infections in sequence) created from EpiCompare::simulate_agents(). The model is S1->I1->R1->S2->I2->R2. It is two SIR models pasted together with a transition between first recovery and second suscepbiility. The parameters are \(beta_1 = .5\), \(\beta_2 = .08\), \(\gamma_1 = .4\), \(\gamma_2 = .06\), \(\eta = .08\) where \(\eta\) is the transition from R1 to S2.
sirs_data
The object is a data frame of dimension 7525x8. The columns are
simulation number between 1 and 25
time between 0 and 300
susceptible for the first time
infectious for first time
recovered for first time
susceptible for second time
infectious for second time
recovered for second and final time
#> # A tibble: 6 x 8 #> # Groups: sim [1] #> sim t S1 I1 R1 S2 I2 R2 #> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> #> 1 1 0 1150 0 0 0 0 0 #> 2 1 1 950 50 0 100 50 0 #> 3 1 2 906 78 16 100 50 0 #> 4 1 3 857 96 44 102 49 2 #> 5 1 4 798 109 87 102 51 3 #> 6 1 5 744 122 121 107 49 7