Description Usage Arguments Value Examples
Wrapper function for dodgr function 'R/dodgr_times.R'
1 | get_times(graph, demand)
|
graph |
Graph object created with configure_graph() function |
demand |
Demand object created with configure_demand() function |
Square matrix of distances between nodes
1 2 3 4 5 | flist <- configure_graph(sioux_network,sioux_zones,use_cost_col=TRUE)
graph <- flist[[1]]
zones <- flist[[2]]
demand <- configure_demand(sioux_demand,zones)
paths <- get_times(graph,demand)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.