vis_epiflows {epiflows} | R Documentation |
Visualise epidemic flows using visNetwork
Description
This function shows flows between locations using a dynamic network
visualisation implemented in the package visNetwork, calling the
function epicontacts::vis_epicontacts()
of the epicontacts
package. The thickness of arrows/edges is proportional to the corresponding
flows.
Usage
vis_epiflows(x, arrows = TRUE, max_width = 10, ...)
Arguments
x |
An |
arrows |
A logical indicating if arrows should be used to show directionality of the flows. |
max_width |
A single number indicating the maximum width of an edge (corresponding to the largest flow). |
... |
Further arguments passed to |
Author(s)
Thibaut Jombart
[Package epiflows version 0.2.1 Index]