Learn R Programming

mlr (version 2.7)

getTaskFormula: Get formula of a task.

Description

This is usually simply ~ .. For multilabel it is + ... + ~ ..

Usage

getTaskFormula(x, target = getTaskTargetNames(x), explicit.features = FALSE,
  env = parent.frame())

Arguments

Value

[formula].

See Also

Other task: getTaskClassLevels, getTaskCosts, getTaskData, getTaskDescription, getTaskFeatureNames, getTaskId, getTaskNFeats, getTaskSize, getTaskTargetNames, getTaskTargets, getTaskType, subsetTask