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

getTaskCosts(task, subset = NULL)

Arguments

task

(Task)
The task.

subset

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

Value

(matrix | NULL).

See also