normDistMat: normDistMat

Description Usage Arguments Details Value Examples

Description

normDistMat

Usage

1
normDistMat(matDistanceCorr, optiCrit)

Arguments

matDistanceCorr

corrected distance matrix using pErr, result of calDistance

optiCrit

criterion choice

Details

normalize distance matrix so that diagonal is equal to 1

Value

a normalized distance matrix

Examples

1
2
3
4
5
6
7
8
# load test map with simulated data
data(mapTest)
# load zoning results from test file
data(resZTest)
K=resZTest
resD = calDistance(typedist=1,mapTest$krigData,K$listZonePoint,K$zoneN,
        mapTest$krigSurfVoronoi,K$meanZone,pErr=0.9)
normDistMat(resD$matDistanceCorr,2)

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