R: Get the type of the task.

getTaskType {mlr} | R Documentation

## Get the type of the task.

### Description

See title.

### Usage

    getTaskType(x)

### Arguments

`x` | (Task | TaskDesc) Task or its description object.

### Value

(`character(1)`).

### See Also

Other task: `getTaskClassLevels()`, `getTaskCosts()`, `getTaskData()`, `getTaskDesc()`, `getTaskFeatureNames()`, `getTaskFormula()`, `getTaskId()`, `getTaskNFeats()`, `getTaskSize()`, `getTaskTargetNames()`, `getTaskTargets()`, `subsetTask()`

[Package mlr version 2.19.0 Index]