getTaskCosts: Extract costs in task.

Description Usage Arguments Value See Also

Description

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

Usage

1

Arguments

task

[Task]
The task.

subset

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

Value

[matrix | NULL].

See Also

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


Najah-lshanableh/R-data-mining2 documentation built on May 6, 2019, 10:11 a.m.