infection_network_plot: Plots infection network

Description Usage Arguments

Description

infection_network_plot takes output of first_infection_list and plots either a time accurate network, or a "tree" network with equal branches.

Usage

1
2

Arguments

first_infection_list

Infection list outputted by first_infection_list

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


OJWatson/paper documentation built on May 7, 2019, 8:33 p.m.