Shrines come in clusters, at every scale
Half of all shrines have another shrine within 11 metres, and 86% have one within 50 metres. If the same 2,296 shrines were scattered at random across the surveyed area, the typical gap would be 86 metres. The Clark–Evans ratio of observed to expected spacing is 0.34, far below the value of 1 that random placement produces.
Ripley's L function shows the clustering is not only a matter of shrines huddling in pairs. The excess over randomness keeps growing out to about 1.5 kilometres, which is roughly the width of the old city between the river and the inland bazaars. Shrines cluster within lanes, lanes cluster within neighbourhoods, and neighbourhoods cluster along the river.
How to read these statistics
Nearest-neighbour distance measures, for each shrine, the straight-line gap to the closest other shrine. The Clark–Evans ratio (R) divides the average of those gaps by the average a random layout with the same density would produce: R near 1 means random, below 1 means clustered, above 1 means evenly spaced. The z-score says how many standard errors the observed value is from random; anything beyond ±3 is decisive.
Ripley's K counts how many other shrines fall within a radius r of a typical shrine, at many radii. The transformed L(r) − r equals zero for a random pattern, so the height of the curve at each radius is the excess clustering at that scale. The curve peaks where clusters are largest. Edge effects were not corrected, which slightly inflates values at large radii.





