Description Usage Arguments Examples
For a given weighted adjacency matrix, plots a directed network illustrating transmission probabilities.
1 | plotnetwork(probmat, labels, arrlen = 0.15, scale = 1, ...)
|
probmat |
Transmission probability matrix. The [i,j]th element represents the probability that person i infected person j. |
labels |
Labels representing row and columns in the probability matrix. |
arrlen |
Length of arrow heads (see |
scale |
Scaling for colors according to probability values. |
... |
Additional arguments to be passed to plot. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.