pooled_hazard_task: Generate A Pooled Hazards Task from a Failure Time (or...

View source: R/survival_utils.R

pooled_hazard_taskR Documentation

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

Description

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

Usage

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.


jeremyrcoyle/sl3 documentation built on April 30, 2024, 10:16 p.m.