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.

vis_epiflows(x, arrows = TRUE, max_width = 10, ...)

Arguments

x

An epiflows object.

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 epicontacts::vis_epicontacts()