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