ce {RGeostats}R Documentation

Conditional Expectation under Gaussian Model

Description

Conditional Expectation under Gaussian Model

Usage

     ce(db,
        name.est = db.getname(db, "z", 1), name.std = db.getname(db,"z", 2),
        anam, zcuts = NA, proba=NA, output = c("Z"), 
        flag.est=TRUE, flag.std=TRUE, flag.simu=FALSE, flag.OK=FALSE,
		nbsimu=100, radix = "ce", modify.target = db.locmod())

Arguments

db

The db-class which contains the results of the Kriging phase needed for computing the Conditional Expectation calculations.

name.est

Name of the attribute containing the kriging estimate.

name.std

Name of the attribute containing the variance of kriging estimate error;

anam

A anam-class structure which contains the definition of the Punctual Gaussian Anamorphosis.

zcuts

The array containing the cutoffs for which the selectivity curves must be computed.

proba

Value of the probability for which the quantile must be calculated

output

Names of the functions to be calculated. This list should contain one or several among the following list of keywords:

  • Z: The estimate

  • T: The tonnage (per cutoff)

  • Q: The Metal quantity (per cutoff)

  • M: The average grade above cutoff (per cutoff)

  • B: The conventional benefit (per cutoff)

  • Prop: The probability below cutoff

  • Quant: The quantile at cutoff

flag.est

TRUE if the estimation is requested

flag.std

TRUE if the standard deviation of estimation error is requested

flag.simu

When TRUE, calculations are performed using a Montecarlo approach. Otherwise numerical integration is performed using Hermite polynomials.

flag.OK

When the Kriging results are provided through Ordinary Kriging, some corrections must be provided.

nbsimu

When flag.simu is set to TRUE, this argument designates the number of Montecarlo simulations that are drawn to calculate the quantities.

radix

Radix used for naming the output variables.

modify.target

Decides whether or not the newly created variables will have their locator defined or not. For more information, see db.locmod.

Value

The db-class contains the functions. The number of functions depends upon the code:


[Package RGeostats version 14.0.10 Index]