Generate A Pooled Hazards Task from a Failure Time (or Categorical) Task

pooled_hazard_task(task, trim = TRUE)

Arguments

task

A sl3_Task where the outcome is failure time.

trim

If true, remove entries after failure time for each observation.