Learn R Programming

mlr3 (version 0.23.0)

assert_resample_callback: Assertions for Callbacks

Description

Assertions for CallbackResample class.

Usage

assert_resample_callback(callback, null_ok = FALSE)

assert_resample_callbacks(callbacks, null_ok = FALSE)

Value

CallbackResample | List of CallbackResamples.

Arguments

callback

(CallbackResample).

null_ok

(logical(1))
If TRUE, NULL is allowed.

callbacks

(list of CallbackResample).