View source: R/Task_operators.R
subsetTask | R Documentation |
See title.
subsetTask(task, subset = NULL, features)
task |
(Task) |
subset |
(integer | logical | |
features |
(character | integer | logical) |
(Task). Task with subsetted data.
Other task:
getTaskClassLevels()
,
getTaskCosts()
,
getTaskData()
,
getTaskDesc()
,
getTaskFeatureNames()
,
getTaskFormula()
,
getTaskId()
,
getTaskNFeats()
,
getTaskSize()
,
getTaskTargetNames()
,
getTaskTargets()
,
getTaskType()
task = makeClassifTask(data = iris, target = "Species")
subsetTask(task, subset = 1:100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.