infection_network_plot
takes output of first_infection_list
and
plots either a time accurate network, or a "tree" network with equal branches.
1 2 | infection_network_plot(first_infection_list, time = TRUE, log = TRUE,
iterations = 10000)
|
first_infection_list |
Infection list outputted by |
time |
Boolean dictating is time accurate network is output. If FALSE then "tree" network with equal branches is plotted. Default = TRUE |
log |
Boolean that determines if the times of infection are log transformed to improve the visualisation of the non-tree plot. Default = TRUE |
iterations |
Numeric detailing the number igraph iterations run when calculating optimum layout. Default = 10000 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.