Skip to contents

See survival::Surv() for details.

Value

An object of class Surv.

Examples

Surv(c(5, 8, 12), c(1, 0, 1))
#> [1]  5   8+ 12