list_Zone_2_Neighbours: list_Zone_2_Neighbours

Description Usage Arguments Details Value Examples

Description

list_Zone_2_Neighbours

Usage

1

Arguments

Z

list of Zones

lab

vector labels of zones

Details

Returns the numbers of zones that have exactly 2 neighbours with different labels. These zone are susceptible to be transitions zones

Value

a vector containing zone numbers

Examples

1
2
3
4
5
6
7
8
 seed=20
 map=genMap(DataObj=NULL,seed=seed,krig=2,typeMod="Exp")
 ZK=initialZoning(qProb=c(0.67,0.8),map)
 Z=ZK$resZ$zonePolygone # list of zones
 lab = ZK$resZ$lab # label of zones
 plotM(map = map,Z = Z,lab = lab, byLab = FALSE)
 # zone 5 and 11 are transition zones and have exactly 2 neighbours with different labels.
 list_Zone_2_Neighbours(Z = Z, lab = lab)

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