Learn R Programming

geozoning (version 1.0.0)

randKmapGrid: randKmapGrid

Description

randKmapGrid

Usage

randKmapGrid(DataObj, nSimuCond = 0, boundary = list(x = c(0, 0, 1, 1, 0), y
  = c(0, 1, 1, 0, 0)), manualBoundary = FALSE, disp = 0, FULL = FALSE)

Arguments

DataObj

=NULL: simulated data with seed or = a data frame with real data

nSimuCond

numeric

boundary

list contains x and y

manualBoundary

logical, default FALSE

disp

numeric

FULL

logical, if TRUE the returned list is complete

Value

a list

rawData

simulated or real raw data within the boundary

step

grid step

krigData

kriged data

krigGrid

kriged data in form of grid

krigN

kriged neighbours of each data point

krigSurfVoronoi

areas of Voronoi polygons in the tesselation of kriged data

modelGen

random fields model

VGMmodel

vgm model

boundary

(x,y) list of boundary points

Details

Prepare real data for zoning, data are already on a regular grid, hence no kriging is done.

Examples

Run this code
# NOT RUN {
data(dataReg) #regular data on a square grid between 0 and 1
map = randKmapGrid(dataReg)
plotMap(map)
# }

Run the code above in your browser using DataLab