Learn R Programming

mlr (version 1.1-18)

getTaskFormula: Get formula of a task.

Description

This is simply the target ~ . formula.

Usage

getTaskFormula(x, delete.env = TRUE)

Arguments

Value

[formula].

Examples

Run this code
task <- makeClassifTask(data = iris, target = "Species")
getTaskFormula(task)

Run the code above in your browser using DataLab