dodgr_components | R Documentation |
Identify connected components of graph and add corresponding component
column to data.frame
.
dodgr_components(graph)
graph |
A |
Equivalent graph with additional component
column,
sequentially numbered from 1 = largest component.
Other modification:
dodgr_contract_graph()
,
dodgr_uncontract_graph()
graph <- weight_streetnet (hampi)
graph <- dodgr_components (graph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.