Spatial statistics and aggregationNearest Neighbor Index
The Nearest Neighbor Index (NNI) compares the average distance from each point to its closest other point with an expected distance under a spatial-randomness model. It is a global summary for point patterns, not a map of individual nearest-neighbor links.
Illustrative example. Synthetic locations, line and boundary near Toronto provide map context. They are not a computed nearest neighbor index result. Interactive tool coming later.Updated