| igraph_to_dodgr {dodgr} | R Documentation |
Convert a igraph network to an equivalent dodgr representation.
Description
Convert a igraph network to an equivalent dodgr representation.
Usage
igraph_to_dodgr(graph)
Arguments
graph |
An igraph network |
Value
The dodgr equivalent of the input.
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
[Package dodgr version 0.4.1 Index]