Learn R Programming

geozoning (version 1.0.0)

holeSp: holeSp

Description

holeSp

Usage

holeSp(sp)

Arguments

sp

SpatialPolygons

Value

the number of holes within sp

Details

number of holes in SpatialPolygons

Examples

Run this code
# NOT RUN {
ZK=initialZoning(qProb=c(0.4,0.2,0.7),mapTest)
Z=ZK$resZ$zonePolygone
holeSp(Z[[5]]) #zone 5 has 1 hole
# }

Run the code above in your browser using DataLab