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, cutmine = NA, recovery = c("Z"), verbose = FALSE,
        flag.est = TRUE, flag.std = TRUE, flag.simu=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.

cutmine

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

recovery

Names of the recovery 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)

verbose

Verbose flag

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.

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 recovery functions. The number of recovery functions depends upon the code:


[Package RGeostats version 11.1.1 Index]