Learn R Programming

depCensoring (version 0.1.7)

gs.binary: Return the next point to evaluate when doing binary search

Description

This function implements the binary search algorithm, that starts from a given feasible point and looks in the given direction for the root of the violation curve.

Usage

gs.binary(evaluations, dir, iter.nbr, hp)

Value

The next point to evaluate.

Arguments

evaluations

Matrix of evaluated test statistics and critical values.

dir

Search direction.

iter.nbr

Iteration number.

hp

List of hyperparameters.