getTaskCosts: Extract costs in task.

Description Usage Arguments Value See Also

View source: R/Task_operators.R

Description

Returns “NULL” if the task is not of type “costsens”.

Usage

1

Arguments

task

[Task]
The task.

subset

[integer | logical | NULL]
Selected cases. Either a logical or an index vector. By default (NULL) all observations are used.

Value

[matrix | NULL].

See Also

Other task: getTaskClassLevels, getTaskData, getTaskDesc, getTaskFeatureNames, getTaskFormula, getTaskId, getTaskNFeats, getTaskSize, getTaskTargetNames, getTaskTargets, getTaskType, subsetTask


guillermozbta/s2 documentation built on May 17, 2019, 4:01 p.m.