Description Usage Arguments Value See Also Examples
For a given set of infection routes, returns an adjacency matrix.
1 | networkmat(ID, sources)
|
ID |
Vector of infective IDs |
sources |
Vector of infection sources corresponding to |
Returns a matrix with the [i,j]th entry equal to 1 if the ith infective in ID
infected the jth infective in ID
.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.