Learn R Programming

ecr (version 1.0)

setupTerminators: Generator for some frequently used stopping conditions.

Description

Setting up stopping conditions is flexible and straight-forward, but it needs a lot of writing. This function generates a list of frequently used stopping conditions with just a single function call.

Usage

setupTerminators(max.iter = NULL, max.time = NULL)

Arguments

max.iter
[integer(1)] Maximal number of iterations. Default ist Inf.
max.time
[integer(1)] Time budget in seconds. Default ist Inf.

Value

[list] List of ecr_terminator objects, which can be passed to ecr.