man-roxygen/arg_task_or_type.R

#' @param obj (`character(1)` | [Task])\cr
#'   Either `character(1)` task or the type of the task, in the latter case one of:
#'   \dQuote{classif} \dQuote{regr} \dQuote{surv} \dQuote{costsens} \dQuote{cluster} \dQuote{multilabel}.
#'   Default is `NA` matching all types.
mlr-org/mlr documentation built on Jan. 12, 2023, 5:16 a.m.