Learn R Programming

geozoning (version 1.0.0)

maxDistZone: maxDistZone

Description

maxDistZone

Usage

maxDistZone(Z, iZ, k)

Arguments

Z

zoning geometry (list of SpatialPolygons)

iZ

current zone index

k

polygon number within current zone

Value

the maximum distance within kth polygon of the current zone

Details

maximum distance within kth polygon of current zone

Examples

Run this code
# NOT RUN {
ZK=initialZoning(qProb=c(0.4,0.2,0.7),mapTest)
Z=ZK$resZ$zonePolygone
geozoning:::maxDistZone(Z,5,1)
# }

Run the code above in your browser using DataLab