Learn R Programming

geozoning (version 1.0.0)

initialZoning: initialZoning zoning with no correction

Description

initialZoning zoning with no correction

Usage

initialZoning(qProb, map, pErr = 0.9, simplitol = 0.001, optiCrit = 2,
  disp = 0, GridData = F)

Arguments

qProb

probability vector used to generate quantile values

map

object returned by function genMap

pErr

equality tolerance for distance calculations

simplitol

tolerance for spatial polygons geometry simplification

optiCrit

criterion choice

disp

0: no info, 1: some info, 2: detailed info

GridData

logical value indicating if data are already on a regular grid (no kriging in that case)

Value

a list with components

resCrit

criterion value

resDist

list with components matDistance, matDistanceCorr and cost, such as returned by a call to calDistance

resZ

list with components zoneN, zoneNModif, listZonePoint, meanTot, meanZone,listSurf, critSurf, zonePolygone, such as the object returned by calNei

Details

calculates a zoning on kriged map data, based on quantiles of data attribute values. These quantiles correspond the given probabilities. Contour lines define zones, they are projected on to the map boundary in order to close them if necessary. The distance matrices intra and inter zones are calculated as well as the quality criterion.

Examples

Run this code
# NOT RUN {
data(mapTest)
ZK=initialZoning(qProb=c(0.4,0.7),mapTest)
plotZ(ZK$resZ$zonePolygone)
# }

Run the code above in your browser using DataLab