View source: R/subset_edges_as_sf.R
subset_edges_as_sf | R Documentation |
Subsets a graph based on optimal routes that can be used to e.g. calculate summary statistics.
subset_edges_as_sf(graph, epath)
graph |
tbl_graph object with the network used to calculate the route |
epath |
igraph.es object containing the route |
sf object with a subset of the network based on the route
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.