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.


topepo/parsnip documentation built on April 16, 2024, 3:23 a.m.