Skip to contents

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():

mlr_tasks$get("hoel")
tsk("hoel")

Meta Information

  • Task type: “cmprsk”

  • Dimensions: 181x3

  • Properties: -

  • Has Missings: FALSE

  • Target: “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 id and retained trt as the only feature, preserving its factor levels Control and Germ-free without conversion.

  • Renamed days to time, preserving the original values in days.

  • Replaced outcome with integer event using the original factor labels: censor = 0, thymic lymphoma = 1, reticulum cell sarcoma = 2, and other = 3. Code 0 does not occur in these data.

See also