Learn R Programming

miesmuschel (version 0.0.4-3)

mut: 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, ...)

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().

Arguments

.key

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

...

(any)
Additional arguments.

.keys

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

See Also

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

Examples

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

Run the code above in your browser using DataLab