trm: Syntactic Sugar Terminator Construction

View source: R/sugar.R

trmR Documentation

Syntactic Sugar Terminator Construction

Description

This function complements mlr_terminators with functions in the spirit of mlr_sugar from mlr3.

Usage

trm(.key, ...)

trms(.keys, ...)

Arguments

.key

(character(1))
Key passed to the respective dictionary to retrieve the object.

...

(named list())
Named arguments passed to the constructor, to be set as parameters in the paradox::ParamSet, or to be set as public field. See mlr3misc::dictionary_sugar_get() for more details.

.keys

(character())
Keys passed to the respective dictionary to retrieve multiple objects.

Value

  • Terminator for trm().

  • list of Terminator for trms().

Examples

trm("evals", n_evals = 10)

bbotk documentation built on Nov. 13, 2023, 5:06 p.m.