selectivity.qt {RGeostats}R Documentation

Calculate Grade-Tonnage curves from estimated Q and T variables

Description

Calculate Grade-Tonnage curves from estimated Q and T variables

Usage

selectivity.qt(db, tnames = NA, qnames = NA, 
               cuts = NA, cells = NA, verbose=0, flag.plot = TRUE, ...)

Arguments

db

The db-class object which contains the estimated Q (metal quantity) and T (tonnage) variables.

tnames

Names (or ranks) of the columns containing the set of T variables. Note that there must the same number of T and Q variables. For more information see db.ident.

qnames

Names (or ranks) of the columns containing the set of Q variables. Note that there must the same number of T and Q variables. For more information see db.ident.

cuts

Array containing the cutoffs for which calculations must be performed. If not specified, these cutoffs are generated automatically. In the case of Selectivity curves calculated from a Model (argument 'x' refers to a Model (anam-class), and if the Model is Discrete, then the cutoffs are the ones of the Model and the current argument is useless (they do not need to be defined explicitely as they will be generated automatically by the program).

cells

List of cells that must be regrouped to produce the Grade-Tonnage curve. If not specified, all the active cells are considered.

verbose

Verbose flag. If switched ON, the value of the GINI index is printed.

flag.plot

When TRUE, the result of the Selectivity function is plotted. Otherwise, the resulting array is produced as output. See Details for more information.

...

Arguments passed to the function selectivity.curve.

Value

An array of the recovery functions. The number of rows corresponds to the number of cutoffs. There are five columns organized as follows:


[Package RGeostats version 14.0.10 Index]