| ox_basic_stats | R Documentation |
Summary measures for an osm_graph: node and edge counts, total and mean
edge length, mean out-degree, self-loop count and average circuity.
Computation is performed by the bundled Rust core.
ox_basic_stats(g, weight = "length")
g |
An osm_graph. |
weight |
Edge column used as length/weight. Default |
A one-row tibble of statistics.
g <- example_osm_graph()
ox_basic_stats(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.