powered by
Convert a dodgr graph to an igraph.
dodgr
dodgr_to_igraph(graph, weight_column = "d")
A dodgr graph
The column of the dodgr network to use as the edge weights in the igraph representation.
igraph
The igraph equivalent of the input. Note that this will not be a dual-weighted graph.
igraph_to_dodgr
# NOT RUN { graph <- weight_streetnet (hampi) graphi <- dodgr_to_igraph (graph) # }
Run the code above in your browser using DataLab