Convert a igraph network to an equivalent dodgr
representation.
Source: R/graph-conversion.R
igraph_to_dodgr.Rd
Convert a igraph network to an equivalent dodgr
representation.
See also
Other conversion:
dodgr_deduplicate_graph()
,
dodgr_to_igraph()
,
dodgr_to_sf()
,
dodgr_to_sfc()
,
dodgr_to_tidygraph()
Examples
graph <- weight_streetnet (hampi)
graphi <- dodgr_to_igraph (graph)
graph2 <- igraph_to_dodgr (graphi)
identical (graph2, graph) # FALSE
#> [1] FALSE