condexp {RGeoS} | R Documentation |
Conditional expectation based on pointwise Monte Carlo simulations
condexp(dbin, dbout, model = model.input(), neigh = neigh.input(), anam = NA, fy2z = NULL, uc = c("1"), mean = NA, seed = 43241, flag.condexp = TRUE, flag.condstd = TRUE, flag.gausexp = FALSE, flag.gausstd = FALSE, flag.proba = FALSE, flag.metal = FALSE, cutoffs = NULL, nbsimu = 100, radix = NA, modify.target = TRUE)
dbin |
The |
dbout |
The |
model |
The |
neigh |
The |
anam |
The |
fy2z |
External function (if defined) for transforming a gaussian value into a raw value. |
uc |
The vector of strings describing the drift conditions |
mean |
Array containing the mean of each variable, used in the case of Simple (Co-)Kriging |
seed |
Seed used for the generation of random numbers |
flag.condexp |
When TRUE, the average (conditional expectation) of the pointwise simulated values (after back-transform) is returned |
flag.condstd |
When TRUE, the standard deviation of the pointwise simulated values (after back-transform) is returned |
flag.gausexp |
When TRUE, the gaussian estimated value is returned |
flag.gausstd |
When TRUE, the standard deviation of the gaussian kriging error is returned |
flag.proba |
When TRUE and if a vector of cutoffs is provided, the probability map is returned |
flag.metal |
When TRUE and if a vector of cutoffs is provided, the metal quantity map is returned |
cutoffs |
Vector of cutoffs |
nbsimu |
Number of Monte Carlo simulations |
radix |
Radix of the name given to the variables storing the results in the target Db. |
modify.target |
When TRUE, the conditional expectation results are set as new target variables in the output Db. |
The target Db where the following variables have been added (upon request): - the conditional expectation - the standard deviation of the conditional expectation - the gaussian estimation - the gaussian standard deviation - the probability maps (for each cutoff) - the metal quantity maps (for each cutoff)