simpgs {RGeoS} | R Documentation |
Plurigaussian conditional simulations
simpgs(dbin = NA, dbout, dbprop = NA, rule = rule.input(), model1 = NA, model2 = NA, neigh=neigh.input(),props = NA, domain=0, flag.stat=TRUE, flag.res=TRUE,flag.gaus = FALSE, flag.prop=FALSE, flag.check=FALSE, flag.show = FALSE, seed = 232131, nbsimu = 1, nbtuba = 100, nboot = 10, niter = 100, percent=0.1, toleps=1, delta = NA, radix = NA, modify.target = TRUE)
dbin |
The |
dbout |
The |
dbprop |
The |
rule |
The |
model1 |
The |
model2 |
The |
neigh |
The |
props |
Array giving the (constant) proportions of the different facies involved in the Lithotype rule |
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. |
flag.stat |
Should be set to TRUE in the stationary case where the proportions should be defined as input arguments. When set to FALSE, the output |
flag.res |
When TRUE, the procedure returns results in the Output Db. When FALSE, the procedure returns results in the Input Db |
flag.gaus |
When FALSE, the simulation outcome is coded into facies. When TRUE, the (conditional) simulation is kept in the gaussian scale |
flag.prop |
When TRUE, the procedure returns the proportion of facies, rather than the simulations |
flag.check |
When TRUE (and if dbin is defined and flag.res), the facies of conditioning data is compared to the facies of the closest grid node. |
flag.show |
When TRUE (and if dbin is defined and flag.res), the grid node which coincides with a data is represented with the data facies (with a negative sign). |
seed |
Seed used for the generation of random numbers |
nbsimu |
Number of simulations |
nbtuba |
Number of turning bands |
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 |
delta |
Spatial distance for generating the replicates in case of conditional simulations for shadow option. |
radix |
Radix of the name given to the simulation outcomes stored in the output Db. |
modify.target |
When TRUE, the simulation results are set as new target variables in the output Db. |
The data Db where the simulations outcomes have been added.