Returns a list of zones to consider for
clustering. Each element of the list contains a vector
with the location ids of the regions in that zone.
Arguments
coords
An \(n \times 2\) matrix of centroid
coordinates for the regions in the form (x, y) or
(longitude, latitude) is using great circle distance.
pop
The population size associated with each
region.
ubpop
The upperbound of the proportion of the
total population to consider for a cluster.
longlat
The default is FALSE, which
specifies that Euclidean distance should be used. If
longlat is TRUE, then the great circle
distance is used to calculate the intercentroid
distance.
Author
Joshua French
References
Kulldorff, M. (1997) A spatial
scan statistic. Communications in Statistics - Theory and
Methods, 26(6): 1481-1496,
<doi:10.1080/03610929708831995>