R/survival_utils.R
pooled_hazard_task.Rd
Generate A Pooled Hazards Task from a Failure Time (or Categorical) Task
pooled_hazard_task(task, trim = TRUE)
A sl3_Task
where the outcome is failure time.
If true
, remove entries after failure time for each
observation.