mut: Short Access Forms for Operators

View source: R/dictionaries.R

mutR Documentation

Short Access Forms for Operators

Description

These functions complement dict_mutators, dict_recombinators, dict_selectors with functions in the spirit of mlr3::mlr_sugar.

Usage

mut(.key, ...)

muts(.keys, ...)

rec(.key, ...)

recs(.key, ...)

sel(.key, ...)

sels(.key, ...)

scl(.key, ...)

scls(.key, ...)

ftr(.key, ...)

ftrs(.key, ...)

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

  • Mutator for mut()

  • list of Mutator for muts()

  • Recombinator for rec().

  • list of Recombinator for recs().

  • Selector for sel().

  • list of Selector for sels().

  • Scalor for scl().

  • list of Scalor for scls().

See Also

Other dictionaries: dict_filtors, dict_mutators, dict_recombinators, dict_scalors, dict_selectors

Examples

mut("gauss", sdev = 0.5)
rec("xounif")
sel("random")
scl("nondom")

miesmuschel documentation built on June 22, 2024, 9:39 a.m.