Learn R Programming

dodgr (version 0.4.2)

dodgr_to_tidygraph: Convert a dodgr graph to an tidygraph.

Description

Convert a dodgr graph to an tidygraph.

Usage

dodgr_to_tidygraph(graph)

Value

The tidygraph equivalent of the input

Arguments

graph

A dodgr graph

See Also

Other conversion: dodgr_deduplicate_graph(), dodgr_to_igraph(), dodgr_to_sf(), dodgr_to_sfc(), igraph_to_dodgr()

Examples

Run this code
graph <- weight_streetnet (hampi)
grapht <- dodgr_to_tidygraph (graph)

Run the code above in your browser using DataLab