Description Usage Arguments Details Value Examples
detZoneClose
1 | detZoneClose(iZ, Z, zoneN, distIsoZ = 0.075)
|
iZ |
zone number |
Z |
zoning geometry (list of SpatialPolygons) |
zoneN |
modified zone neighborhood Logical matrix (FALSE values on diagonal) |
distIsoZ |
threshold distance above which a zone is considered as isolated |
determines zones that are close to current zone, but not neighbors (common border). Therefore embedded or englobing zones are excluded.
a list with components
TRUE if zone is isolated, FALSE otherwise
indices of zones close to zone iZ, empty if zone is isolated
1 2 3 4 5 6 | data(resZTest)
Z=resZTest$zonePolygone
zoneN=resZTest$zoneNModif
plotZ(Z)
detZoneClose(4,Z,zoneN) # zone 4 is close to zone 3
detZoneClose(6,Z,zoneN) # zone 6 is isolated (no zone at a distance smaller than 0.075).
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.