Skip to contents

A wrapper function for survival::Surv

Usage

Surv(...)

Arguments

...

parameters passed to survival::Surv

Value

object of class survival::Surv

Examples

library(dpasurv)

data(simdata)

survival.obj <- Surv(simdata$start, simdata$stop, simdata$event)