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, anam = NA, flag.check=FALSE,
         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 target file

model

The model-class structure containing the Model information. For more information check check.model.

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

anam

The anam-class containing the characteristics of the Anamorphosis. When defined, the simulation resulting outcome is backtransformed (from Gaussian to Raw scale) before storage.

flag.check

When TRUE, the Gaussian value of the conditional simulation is compared to the value of the closest data.

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 14.0.10 Index]