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.


parsnip documentation built on June 24, 2024, 5:14 p.m.