Learn R Programming

geozoning (version 1.0.0)

labZone0: labZone0

Description

labZone0

Usage

labZone0(K, qProb, dataF)

Arguments

K

zoning object, as returned by the calNei function

qProb

probability vector used to generate quantile values for Z

dataF

data used to generate labels and zoning

Value

a zoning object with labelled zones in lab component

Details

assigns a class label (integer) to a zone depending on the zone mean value and on the quantile values. Default label is 1, corresponding to mean value samller #' or equal to first quantile. For k ordered quantile values, if mean value is greater #' than quantile k plus 10

Examples

Run this code
# NOT RUN {
data(mapTest)
dataF=mapTest$krigGrid
data(resZTest)
K=resZTest
p = K$qProb
geozoning:::labZone0(K,p,dataF)
# not run
# }

Run the code above in your browser using DataLab