powered by
Surv
## S3 method for class 'Surv': plot(x, l = 3, ...)
l/nrow(x)
type
attr(s,which="type")
df0 <- data.frame(t1=c(0,2,4,6,NA,NA,12,14), t2=c(NA,NA,4,6,8,10,16,18)) s5 <- Surv(df0$t1,df0$t2,type="interval2") plot(s5)
Run the code above in your browser using DataLab