Learn R Programming

depCensoring (version 0.1.7)

gs.algo.bidir: Rudimentary, bidirectional 1D grid search algorithm.

Description

This function implements a rudimentary, bidirectional search algorithm. It works by expanding a grid with given step.size in both directions, starting from an initial feasible point.

Usage

gs.algo.bidir(test.results, max.iter, step.size)

Value

The next point to evaluate in the grid search.

Arguments

test.results

Matrix containing the evaluations of the test statistic and critical value.

max.iter

Maximum number of iterations.

step.size

Step size based on which the grid is constructed.