Description Usage Arguments Details Value Examples
calCrit
1 | calCrit(matDistanceCorr, zoneNModif, optiCrit = 2)
|
matDistanceCorr |
corrected distance matrix between zones, result of call to |
zoneNModif |
modified zone neighborhood matrix (FALSE values on diagonal), result of call to |
optiCrit |
criterion to be optimized. Possible values are :
|
wrapper function that redirects to the proper criterion calculation function according to optiCrit arg value
the criterion value as a real positive number indicating the zoning quality.
1 2 3 4 5 6 7 8 9 10 | # compute criterion on test zoning included in package
# 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)
crit = calCrit(resD$matDistanceCorr,K$zoneNModif,2)
print(crit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.