Learn R Programming

geozoning (version 1.0.0)

nPolyZone: nPolyZone

Description

nPolyZone

Usage

nPolyZone(Z, iC)

Arguments

Z

zoning geometry (list of SpatialPolygons)

iC

current zone number within Z

Value

the number of polygons within the current zone

Details

number of polygons in current zone

Examples

Run this code
# NOT RUN {
data(resZTest)
K=resZTest
Z=K$zonePolygone
iC=1;print(paste(nPolyZone(Z,iC),"polygons in zone",iC))
# }

Run the code above in your browser using DataLab