igraph_to_dodgr: igraph_to_dodgr

Description Usage Arguments Value See Also Examples

Description

Convert a igraph network to an equivalent dodgr representation.

Usage

1

Arguments

graph

An igraph network

Value

The dodgr equivalent of the input.

See Also

dodgr_to_igraph

Examples

1
2
3
4
graph <- weight_streetnet (hampi)
graphi <- dodgr_to_igraph (graph)
graph2 <- igraph_to_dodgr (graphi)
identical (graph2, graph) # FALSE

dodgr documentation built on Aug. 8, 2021, 1:06 a.m.