View source: R/Task_operators.R
| getTaskTargets | R Documentation | 
Get target data of task.
getTaskTargets(task, recode.target = "no")
| task | (Task) | 
| recode.target | ( | 
A factor for classification or a numeric for regression, a data.frame
of logical columns for multilabel.
Other task: 
getTaskClassLevels(),
getTaskCosts(),
getTaskData(),
getTaskDesc(),
getTaskFeatureNames(),
getTaskFormula(),
getTaskId(),
getTaskNFeats(),
getTaskSize(),
getTaskTargetNames(),
getTaskType(),
subsetTask()
task = makeClassifTask(data = iris, target = "Species")
getTaskTargets(task)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.