powered by
Checks the rules for stopping the algorithm, based on its convergence speed.
check_stopping_rules( iteration, speed, all_OF_values, speedlimit = 0.01, verbose = FALSE )
logical
number of iteration
convergence speed
vector containing the values of the objective function from previous iterations
if the convergence speed falls under this limit the algorithm stops
if TRUE, more information is printed
check_stopping_rules(4, 1.7, 5:1)
Run the code above in your browser using DataLab