dodgr_vertices {dodgr} | R Documentation |
Extract vertices of graph, including spatial coordinates if included.
Description
Extract vertices of graph, including spatial coordinates if included.
Usage
dodgr_vertices(graph)
Arguments
graph |
A flat table of graph edges. Must contain columns labelled
|
Value
A data.frame
of vertices with unique numbers (n
).
Note
Values of n
are 0-indexed
See Also
Other misc:
compare_heaps()
,
dodgr_flowmap()
,
dodgr_full_cycles()
,
dodgr_fundamental_cycles()
,
dodgr_insert_vertex()
,
dodgr_sample()
,
dodgr_sflines_to_poly()
,
merge_directed_graph()
,
summary.dodgr_dists_categorical()
,
write_dodgr_wt_profile()
Examples
graph <- weight_streetnet (hampi)
v <- dodgr_vertices (graph)
[Package dodgr version 0.4.1 Index]