powered by
calcDCrit
calcDCrit(Z, map, optiCrit = 2, pErr = 0.9, simplitol = 0.001)
zoning geometry (list pf SpatialPolygons)
object returned by function genMap
criterion choice
equality tolerance for distance calculations, default 0.9
tolerance for spatial polygons geometry simplification, default 0.001
a list with components
list with uncorrected and corrected distance matrix
list with criterion and cost values
computes distances and criterion value for zoning Z
# NOT RUN { data(mapTest) data(resZTest) Z=resZTest$zonePolygone Z1=zoneFusion4(Z,6,2) calcDCrit(Z1,mapTest) # }
Run the code above in your browser using DataLab