| ox_orientation_entropy | R Documentation |
Shannon entropy (in nats) of the distribution of edge compass bearings, binned into equal sectors. Higher values indicate a more disordered (organic) network; lower values a more ordered (gridiron) one.
ox_orientation_entropy(x, num_bins = 36)
x |
An osm_graph or a numeric vector of bearings
(degrees), e.g. from |
num_bins |
Number of equal bearing sectors over |
A numeric scalar (entropy in nats).
g <- example_osm_graph()
ox_orientation_entropy(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.