flt: Syntactic Sugar for Filter Construction

View source: R/flt.R

fltR Documentation

Syntactic Sugar for Filter Construction

Description

These functions complements mlr_filters with a function in the spirit of mlr3::mlr_sugar.

Usage

flt(.key, ...)

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

Filter.

Examples

flt("correlation", method = "kendall")
flts(c("mrmr", "jmim"))

mlr3filters documentation built on Feb. 16, 2023, 7:29 p.m.