gibbs {RGeoS}R Documentation

Perform simulations using the Gibbs Sampler

Description

Perform simulations using gibbs sampler

Usage

gibbs(db = NA, model = model.input(), seed = 232131, nbsimu = 1, rank.grf = 1, 
	 nboot = 10, niter = 100, percent=0.1,
	 toleps = 1, radix = NA, modify.target = TRUE)

Arguments

db

The db-class structure containing the lower and upper bounds (expressed in gaussian scale).

model

The model-class structure containing the Model information

seed

Seed used for the random number generator

nbsimu

Number of simulations

rank.grf

Rank of the gaussian random function to be simulated

nboot

Number of iterations performed for bootstrap

niter

Maximum number of iterations for calculating the conditional expectation

percent

Amount of nugget effect added to the model if this initial model only contains Gaussian structures. If set to zero, the initial model is kept unchanged. This amount is defined as a percentage of the global variance.

toleps

Relative difference between the previous and the new value at a sample location below which the sample is considered as immobile

radix

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

modify.target

When TRUE, the kriging results (estimation or standard deviation) are set as new target variables in the output DB.

Value

The data Db where the simulated variable has been added


[Package RGeoS version 9.1.1 Index]