zcut.optimal {RGeostats}R Documentation

Find a set of optimal cutoffs

Description

Find a set of optimal cutoffs

Usage

zcut.optimal(z, w = NA, nmax = 20, niter = 100, eps = 1,
             verbose = FALSE, flag.plot = FALSE)

Arguments

z

A vector of values corresponding to the input grade.

w

An optional vector of weights. If provided, this array should have the same size as the 'z' argument.

nmax

Maximum number of cutoffs to be defined.

niter

This is an iterative procedure which intends to optimize the selectivity curve "grade as a function of tonnage". The argument 'niter' defines the maximum number of iterations.

eps

This is an iterative procedure which intends to optimize the selectivity curve "grade as a function of tonnage". The procedure can stop before the 'niter' have been performed if the gain on the selectivity between two consecutive iterations is too small. This argument defines the tolerance on the gain.

verbose

When switched ON, a verbose option is provided

flag.plot

When switched ON, a graphic displays the initial cutoffs (regularly spaced) and the optimal ones.

Value

A vector containing the set of optimal cutoffs.


[Package RGeostats version 11.1.2 Index]