Skip to content
Prev 2979 / 29559 Next

construct neighbor list from polygon list with user defined distance thresholds, as found in GeoDa?

On Fri, 11 Jan 2008, Debarchana Ghosh wrote:

            
Looking at the HTML help for the package ought to get you there, 
alternatively scrolling through help(package=spdep)

RSiteSearch("distance neighbours, restrict=c("functions", "docs")")

gets you there first hit (please recall that the spdep author tries to use 
conservative British English - hence neighbour, randomisation, etc.). 
Other spellings can be abbreviated:

RSiteSearch("distance neigh*", restrict=c("functions"))

gets 7th hit to:

?dnearneigh, that is.

If you need alternatives that are not in spdep (such as mean spanning 
tree), look at packages like ade4 (see the search results for ideas).

Roger