This is a deterministic SIS model where the infection parameter \(\beta = 0.2\) and the recovery/re-susceptibility parameter is \(\nu = 0.05\). The initial number of susceptible is \(S(0) = 499\) and the initial number of infectious is \(I(0)=1\). There are 100 steps. For more details, see <<http://statnet.org/tut/BasicDCMs.html#sis_model_with_sensitivity_analyses>>. We then use fortify_aggregate() to convert the data to output used with EpiCompare functions.

sis_data_f

Format

The object has the following columns

t

time

orig_t

original t in simulation

sim

simulation number

X0

number of Susceptible

X1

number of Infectious

Examples

library(EpiModel) data(sis_data_f) head(sis_data_f)
#> # A tibble: 6 x 5 #> t orig_t sim X0 X1 #> <int> <dbl> <fct> <dbl> <dbl> #> 1 1 1 run1 499 1 #> 2 2 2 run1 499. 1.16 #> 3 3 3 run1 499. 1.35 #> 4 4 4 run1 498. 1.57 #> 5 5 5 run1 498. 1.82 #> 6 6 6 run1 498. 2.11