condexp {RGeoS}R Documentation

Conditional expectation

Description

Conditional expectation based on pointwise Monte Carlo simulations

Usage

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)

Arguments

dbin

The db-class structure containing the data file. This file should contain a single variable corresponding to the gaussian transformed information.

dbout

The db-class structure containing the target file

model

The model-class structure containing the Model information

neigh

The neigh-class structure containing the Neighborhood information

anam

The anam-class Class containing the characteristics of the Anamorphosis

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.

Value

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)


[Package RGeoS version 9.1.1 Index]