Description Usage Arguments Value Examples
Quick timap plot from flows in network
1 2 3 4 5 6 7 | plot_flowmap(
network,
flow_factor = 1,
scale_factor = 10,
show_labels = FALSE,
bbox
)
|
network |
Simple feature collection containing network with flow data |
flow_factor |
Exponential factor for flow map display |
scale_factor |
Tmap scale factor for tm_lines function |
show_labels |
Should map (tmap) display text labels? (TRUE) or (FALSE) |
bbox |
sf bbox object |
Nothing; the function outputs in plot window
1 2 3 4 5 6 7 | flist <- configure_graph(sioux_network,sioux_zones,use_cost_col=TRUE)
graph <- flist[[1]]
zones <- flist[[2]]
demand <- configure_demand(sioux_demand,zones)
graph <- solve_ue(graph,demand,col = 'demand')
network <- graph_to_sf(graph,sioux_network)
plot_flowmap(network,show_labels = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.