Description Usage Arguments Value
sis_simulation.matrix
takes a graph represented by an
adjacency matrix and simulates an SIS simulation for
a given rate of infection, rate of recovery and duration.
1 2 | ## S3 method for class 'matrix'
sis_simulation(graph, tau, gam, max_time, i0)
|
graph |
The adjacency matrix representation of the network. |
tau |
Per link infection rate. |
gam |
Per node recovery rate. |
max_time |
Maximum simulation runtime. |
i0 |
Initial number of infective individuals |
list containing timeseries of events and the corresponding timeseries of number of infectious individual.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.