genData: generate data

Description Usage Arguments Details Value Examples

Description

generate data

Usage

1
2
3
4
genData(DataObj = NULL, seed = 0, nPoints = 450, typeMod = "Exp",
  Vpsill = 5, Vrange = 0.2, Vmean = 8, Vnugget = 0, Vanis = 1,
  boundary = list(x = c(0, 0, 1, 1, 0), y = c(0, 1, 1, 0, 0)),
  manualBoundary = FALSE)

Arguments

DataObj

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

seed

numeric value used to generate simulated data

nPoints

number of generated raw data points

typeMod

type of variogram model (see vgm) "Gau", "Sph", "Exp"

Vpsill

partial sill in variogram

Vrange

variogram range

Vmean

average data value

Vnugget

nugget in variogram

Vanis

anisotropy in variogram

boundary

list, contains x and y boundaries

manualBoundary

logical, if TRUE a manual boundary is drawn.

Details

description, a paragraph

Value

a list

tabData

data frame of generated or real data with x,y,z values. x is standardized between 0 and 1, y is standardized with the same ratio used for x

boundary

standardized boundary

VGMmodel

VGM variogram model

modelGen

RM transformed variogram model

ratio

ratio used to normalize x data

Examples

1
2
3
# simulate data with Gaussian model
resGene=genData(NULL,10,450,"Gau",5,0.2,8,0,list(x=c(0,0,1,1,0),y=c(0,1,1,0,0)),FALSE)
plot(resGene$tabData)

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