Learn R Programming

geozoning (version 1.0.0)

zoneGeneration: zoneGeneration

Description

zoneGeneration

Usage

zoneGeneration(map, qProb = c(0.25, 0.75), GridData = FALSE)

Arguments

map

object returned by function genMap

qProb

probability vector used to generate quantile values

GridData

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

Value

a list of zones, each zone is a SpatialPolygons

Details

Generates zones from map data using quantile values associated to given probabilities

Examples

Run this code
# NOT RUN {
data(mapTest)
Z=zoneGeneration(mapTest)
# }

Run the code above in your browser using DataLab