simspde {RGeostats}  R Documentation 
Perform Simulations using SPDE technology
simspde(dbin = NA, dbout, model = NA, pattern = NA, triswitch = "nqQ", nostat = NA, seed = 232131, nbsimu = 1, numparts=NA, ngiter=10, nburn = 50,niter = 100, gext = NA, flag.gibbs = FALSE, flag.grid = TRUE, flag.modif = FALSE, verbose = FALSE, radix = "SPDE", modify.target = db.locmod())
dbin 
The 
dbout 
The 
model 
The 
pattern 
When 'dbout' is organized as regular grid, the simulation may take place starting from the definition of a pattern. 
triswitch 
Command line for the internal triangulation step. For more information see

nostat 
List of nonstationary parameters.
For details see 
seed 
Seed for the random number generation. 
nbsimu 
Number of simulations. 
numparts 
Array for subdividing the field into parts. Its dimension must be equal to the space dimension. If not defined (or equal to 1 in each space direction), the space is not subdivided. Subdividing in parts reduces the dimension of the matrices and can be used in the case of large files (input or output). In order to reduce the artifacts that may be induced by the subdivision, two steps of subdivisions are actually processed. For illustration purpose, let us assume that the field (SX by SY) with origin (X0,Y0) is subdivided into NX ny NY parts.

ngiter 
When the field is subdivided into several parts, several iterations are necessary to glue the parts. This parameter defined the number of iterations to be processed. 
nburn 
Number of burning iterations when the iterative Gibbs method is used as a simulation procedure. During these burning simulations, the intervals are gradually restrained from almost no constraint down to the final constraints. 
niter 
Number of iterations when the iterative Gibbs method is used as a simulation procedure. 
gext 
When 'dbout' is organized as a grid, it may be dilated by gext. This argument designates an array, with its dimension equal to the dimension of the space and which contains the extension defined in number of grid nodes. 
flag.gibbs 
When TRUE, the iterative Gibbs method is used. 
flag.grid 
When FALSE, the simulation is performed after a triangulations step. This is NOT the default solution when performing nonconditional simulation(s) on a 'dbout' organized as a grid. 
flag.modif 
When TRUE, the simulation outcomes are not stored individually. Instead the simulations outcomes are summarized in two output variables, i.e. the mean and standard deviation of dispersion of the simulations. 
verbose 
Verbose option 
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 
The output dbclass
where the following variables have
been added:
either the individual simulations
or two variables corresponding to the mean of the standard deviation of dispersion of the simulations
The Double Quilting can be switched OFF by using the function set.keypair() with the keyword "Flag_Double_Quilt". By default, its value is set to 1.
The keypair mechanism has also been used to transmit the some values calculated internally to the user with the keywords:
SPDE_kappa_value The value of the Kappa parameter
SPDE_alpha_value The value of the Alpha parameter
SPDE_blin_coefficients The array of b_lin coefficients