calcDCrit: calcDCrit

Description Usage Arguments Details Value Examples

Description

calcDCrit

Usage

1
calcDCrit(Z, map, optiCrit = 2, pErr = 0.9, simplitol = 0.001)

Arguments

Z

zoning geometry (list pf SpatialPolygons)

map

object returned by function genMap

optiCrit

criterion choice

pErr

equality tolerance for distance calculations, default 0.9

simplitol

tolerance for spatial polygons geometry simplification, default 0.001

Details

computes distances and criterion value for zoning Z

Value

a list with components

resD

list with uncorrected and corrected distance matrix

resCrit

list with criterion and cost values

Examples

1
2
3
4
5
data(mapTest)
data(resZTest)
Z=resZTest$zonePolygone
Z1=zoneFusion4(Z,6,2)
calcDCrit(Z1,mapTest)

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