powered by
getNs
getNs(zoneN, iZ)
zone neighborhood Logical matrix
index of current zone in zoning
a Logical vector of current zone neighbors
get zone numbers of neighbors of a given zone
# NOT RUN { data(mapTest) K=resZTest Ns=geozoning:::getNs(K$zoneNModif,5) # find neighbors of zone 5 # }
Run the code above in your browser using DataLab