Description Usage Arguments Value
rate_update_sis_matrix
calculates the new rate vector for all nodes in
graph
1 | rate_update_sis_matrix(event, rate, status, graph_edge, tau, gam)
|
event |
The node whose status is changing. |
rate |
The current rate for each node. |
status |
The initial infectious status of individuals. |
graph_edge |
vector of connections to event from adjacency matrix graph |
tau |
Per link infection rate. |
gam |
Per node recovery rate. |
updated rate vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.