Learn R Programming

geozoning (version 1.0.0)

detZoneEng: detZoneEng

Description

detZoneEng

Usage

detZoneEng(iZ, Z, zoneN)

Arguments

iZ

index of zone for which englobing zone is searched

Z

zoning

zoneN

modified zone neighborhood matrix (FALSE values on diagonal)

Value

an integer value (0 if no englobing zone was found, englobing zone index otherwise)

Details

description, a paragraph

Examples

Run this code
# NOT RUN {
# load zoning results from test file
data(resZTest)
Z=resZTest$zonePolygone
zoneN=resZTest$zoneNModif
detZoneEng(3,Z,zoneN) # zone 2 englobes zone 3
detZoneEng(2,Z,zoneN) # no englobing zone for zone 2
# }

Run the code above in your browser using DataLab