powered by
Converts an Ocens object to the simplest Surv object that works for the types of censoring that are present in the data.
Ocens
Surv
Ocens2Surv(Y)
a Surv object
an Ocens object
Y <- Ocens(1:3, c(1, Inf, 3)) Ocens2Surv(Y)
Run the code above in your browser using DataLab