getClosestZone: getClosestZone

Description Usage Arguments Details Value Examples

Description

getClosestZone

Usage

1
getClosestZone(iZ, Z, zoneN)

Arguments

iZ

current zone number

Z

current zone

zoneN

zone neighborhood Logical matrix

Details

get closest non neighbor zone (i.e. excluding neighbor zones and englobing zone)

Value

the closest zone index

Examples

1
2
3
data(resZTest)
Z=resZTest$zonePolygone
geozoning:::getClosestZone(4,Z,resZTest$zoneNModif)

geozoning documentation built on May 2, 2019, 9:43 a.m.