Learn R Programming

geozoning (version 1.0.0)

calCrit4: calCrit4

Description

calCrit4

Usage

calCrit4(matDistance, zoneNModif)

Arguments

matDistance

zone distance matrix resulting from a call to calDistance

zoneNModif

matrix of zone neigbors with FALSE on the diagonal

Value

a numerical value

Details

computes a quality criterion equal to min(min(dij^2/sqrt(dii^2*djj^2))) see also calCrit1, calCrit2, calCrit3, calCrit5, calCritMinMean for other criteria

Examples

Run this code
# NOT RUN {
data(mapTest)
data(resZTest)
K=resZTest
resD = calDistance(typedist=1,mapTest$krigData,K$listZonePoint,K$zoneN,
       mapTest$krigSurfVoronoi,K$meanZone,pErr=0.9)
calCrit4(resD$matDistanceCorr,K$zoneNModif)
# }

Run the code above in your browser using DataLab