labZone: labZone

Description Usage Arguments Details Value Examples

Description

labZone

Usage

1
labZone(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

Details

assigns a class label (integer) to a zone depending on the zone mean value and on the quantile values (as in PA paper). Default label is 1, corresponding to a mean value smaller or equal to first quantile. For p ordered quantile values, if mean value is greater than quantile k and smaller or equal to quantile k+1, zone label is k+1. if mean value is greater than quantile p, zone label is p+1.

Value

a zoning object with labelled zones in lab component

Examples

1
2
3
4
5
6
data(mapTest)
dataF=mapTest$krigGrid
data(resZTest)
K=resZTest
p = K$qProb
labZone(K,p,dataF)

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