selectivity {RGeostats} | R Documentation |
Calculate the grade-tonnage values
selectivity(x, w=NA, zname=NA, wname=NA, cuts=NA, ncut=100,verbose=FALSE, flag.correct=TRUE, flag.plot=TRUE, ...)
x |
This argument can be either:
|
w |
Vector containing the (optional) weight. This vector will be used
only when 'x' is provided as a vector numeric values.
When 'x' corresponds to a |
zname |
When the argument 'x' corresponds to a |
wname |
When the argument 'x' corresponds to a |
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 ( |
ncut |
When the cutoffs are generated automatically, this argument specifies the number of discretized cutoffs between the minimum and the maximum. |
verbose |
Verbose flag. If switched ON, the value of the GINI index is printed. |
flag.correct |
When TRUE, the Tonnages are corrected in order to ensure the order relationship before calculating other quantities. |
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 function |
An array containing the different recovery functions. The number of rows corresponds to the number of cutoffs. There are five columns organized as follows:
z for Cutoff value
T for Tonnage
Q for Metal Quantity
B for Conventional Benefit
M for Average recovered grade
The lines are provided in ascending cutoff order.