Description Usage Arguments Value Examples
View source: R/Base_Functions.R
Randomly generate a symmetric matrix of contacts between agents
1 | contacts(agents)
|
agents |
The list of agents, both patients and healthcare workers, who will be in the simulation |
A symmetric matrix of size NxN, where N is the number of agents, containing number of contacts between each individual agent for each timestep
1 | contact_matrix <- contacts(agents)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.