zoneAssign: zoneAssign

Description Usage Arguments Details Value Examples

Description

zoneAssign

Usage

1
zoneAssign(tab, Z)

Arguments

tab

data frame with data values

Z

zoning object

Details

assigns points to zones

Value

a list of data points within each zone

Examples

1
2
3
4
5
6
7
8
data(mapTest)
ZK=initialZoning(qProb=c(0.4,0.7),mapTest)
Z=ZK$resZ$zonePolygone
listZpts=zoneAssign(mapTest$krigData,Z)
#identical to ZK$resZ$listZonePoint
listZptsRaw=zoneAssign(mapTest$rawData,Z)
plotZ(Z)
points(mapTest$rawData[listZptsRaw[[1]],],col="blue") # add raw data for zone 1

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