Description Usage Arguments Details
animate_infection_network
takes output of first_infection_list
and
produces a network animation of the outbreak using d3. Output is saved to file
as an html page
1 2 | animate_infection_network(first_infection_list, file, year = NULL,
detach = FALSE)
|
first_infection_list |
Infection list outputted by |
file |
Full file path where html is to be saved to. |
year |
Year the outbreak relates to for title plotting. Default = NULL |
detach |
Boolean that detaches the packages loaded within the library. Deafult = FALSE, i.e. packages remain in Global Environment. |
N.B. Function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.