geo2neighbor {prabclus} | R Documentation |
Generates a neighborhood list as required by prabinit
from a
matrix of geographical distances.
geo2neighbor(geodist,cut=0.1*max(geodist))
geodist |
dist -object or symmetric non-negative matrix.
Geographical distances between regions. |
cut |
non-negative numerical. All pairs of regions with
distance<=cut are treated as neighbors. |
A list of integer vectors, giving the set of neighbors for every region.
Christian Hennig chrish@stats.ucl.ac.uk http://www.homepages.ucl.ac.uk/~ucakche
data(waterdist) geo2neighbor(waterdist)