Description Usage Arguments Details Value Examples
list_Zone_2_Neighbours
1 | list_Zone_2_Neighbours(Z, lab)
|
Z |
list of Zones |
lab |
vector labels of zones |
Returns the numbers of zones that have exactly 2 neighbours with different labels. These zone are susceptible to be transitions zones
a vector containing zone numbers
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.