Learn R Programming

geozoning (version 1.0.0)

searchNODcrit1: searchNODcrit1

Description

searchNODcrit1

Usage

searchNODcrit1(qProb, crit)

Arguments

qProb

probability vector used to generate quantile values

crit

result of call to correctionTree (with SAVE=TRUE)

Value

a list with components

ind

index of last level zoning that has the higher criterion value

critList

criterion value corresponding to best last level zoning

costlist

cost value corresponding to best last level zoning

costLlist

cost per label value corresponding to best last level zoning

nzList

number of zones of best last level zoning

Details

description, a paragraph

Examples

Run this code
# NOT RUN {
data(mapTest)
qProb=c(0.1,0.2,0.4);criti=correctionTree(qProb,mapTest) # 2 zonings at last level
res=searchNODcrit1(qProb,criti)# best one is frist element of last level
# }

Run the code above in your browser using DataLab