nPolySp: nPolySp

Description Usage Arguments Details Value Examples

Description

nPolySp

Usage

1
nPolySp(sp)

Arguments

sp

SpatialPolygons

Details

number of polygons in SpatialPolygons

Value

the number of polygons within the current zone

Examples

1
2
3
ZK=initialZoning(qProb=c(0.4,0.2,0.7),mapTest)
Z=ZK$resZ$zonePolygone
print(paste(geozoning:::nPolySp(Z[[2]]),"polygons"))

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