simbayes {RGeostats}R Documentation

Performs Simulations with Bayesian Drift

Description

Performs conditional or non-conditional simulations using Turning Bands and Bayesian Drift

Usage

simbayes(dbin = NA, dbout, 
model = model.input(), neigh = neigh.input(), 
uc = c("1"), dmean = NULL, dcov = NULL,
seed = 232131, nbsimu = 1, nbtuba = 100, 
radix = "Simu", modify.target = db.locmod())

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 targe 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 drift description. Use command uc.names for details.

dmean

The vector of priors on the mean of the Drift terms. By default, means are considered as zero.

dcov

Matrix of priors on the variance-covariance of the Drift terms. By default, this matrix is considered as the unity matrix.

seed

Seed used for the generation of random numbers. When 0, the seed is not initialized.

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

Decides whether or not the newly created variables will have their locator defined or not. For more information, see db.locmod.

Value

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


[Package RGeostats version 11.1.2 Index]