A competing risks task for the hoel data set.
Format
R6::R6Class inheriting from TaskCompRisks.
Dictionary
This Task can be instantiated via the dictionary mlr_tasks or with the associated sugar function tsk():
Meta Information
Task type: “cmprsk”
Dimensions: 181x3
Properties: -
Has Missings:
FALSETarget: “time”, “event”
Features: “trt”
Competing risks scenario
Death is the terminal event, classified as thymic lymphoma (cause 1), reticulum cell sarcoma (cause 2), or other causes of death (cause 3). This is a classical competing risks setting where the recorded causes of death are mutually exclusive.
Pre-processing
Removed
idand retainedtrtas the only feature, preserving its factor levelsControlandGerm-freewithout conversion.Renamed
daystotime, preserving the original values in days.Replaced
outcomewith integereventusing the original factor labels:censor= 0,thymic lymphoma= 1,reticulum cell sarcoma= 2, andother= 3. Code 0 does not occur in these data.
See also
Chapter in the mlr3book: https://mlr3book.mlr-org.com/chapters/chapter2/data_and_basic_modeling.html
as.data.table(mlr_tasks)for a table of available Tasks in the running session
Other Task:
TaskCompRisks,
mlr_tasks_mgus2,
mlr_tasks_pbc,
mlr_tasks_transplant
