dot-extract_surv_time: Extract survival time

.extract_surv_timeR Documentation

Extract survival time

Description

Extract the time component(s) from a survival::Surv() object.

Arguments

surv

A single survival::Surv() object.

Value

A vector when the type is "right" or "left" and a tibble otherwise.


tidymodels/parsnip documentation built on Feb. 19, 2025, 2:10 a.m.