costLab: costLab

Description Usage Arguments Details Value Examples

Description

costLab

Usage

1
costLab(K, map)

Arguments

K

zoning object, as returned by the calNei function

map

object returned by genMap function

Details

description, a paragraph

Value

the sum of per label costs

Examples

1
2
3
4
5
6
data(mapTest)
# run zoning with 2 quantiles corresponding to probability values 0.4 and 0.7,
# saving initial zoning and last level zonings
criti=correctionTree(c(0.4,0.7),mapTest,SAVE=TRUE)
K=criti$zk[[1]][[1]] # initial zoning
costLab(K,mapTest) #identical to criti$costL[[1]][[1]]

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