Identify connected components of graph and add corresponding component
column to data.frame.
dodgr_components(graph)
Arguments
| graph |
A data.frame of edges |
Value
Equivalent graph with additional component column,
sequentially numbered from 1 = largest component.
Examples
#> graph already has a component column