simtub {RGeoS}R Documentation

Performs Simulations

Description

Performs conditional or non-conditional simulations using Turning Bands

Usage

simtub(dbin = NA, dbout, 
model = model.input(), neigh = neigh.input(), 
uc = c("1"), mean = NA, seed = 232131, domain=0,
nbsimu = 1, nbtuba = 100, radix = NA,modify.target = TRUE)

Arguments

dbin

The db-class structure containing the data file. This file is optional. If absent, non-conditional simulations are performed.

dbout

The db-class structure containing the target file

model

The model-class structure containing the Model information.

neigh

The neigh-class structure containing the Neighborhood information. This structure is compulsory for conditional simulations.

uc

The vector of strings describing the drift conditions

mean

Array containing the mean of each variable, used in the case of Simple (Co-)Kriging

seed

Seed used for the generation of random numbers

domain

When (strictly) positive, it corresponds to the reference domain value. If a Db attribute is defined as a Domain variable in a Db file, a sample will be selected only if the corresponding Domain variable is equal to the reference domain value. This Domain selection can serve as a secondary selection for the sample in the Input Db or as a mask in the Output Db.

nbsimu

Number of simulations

nbtuba

Number of turning bands

radix

Radix of the name given to the variables storing the results in the target Db.

modify.target

When TRUE, the simulation results are set as new target variables in the output DB.

Value

The target Db where 'nbsimu' variables have been added. These variables are multiplied for each one of the data variables.


[Package RGeoS version 9.1.1 Index]