R/Ocens.r
Ocens2Surv.Rd
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)
an Ocens object
a Surv object
Y <- Ocens(1:3, c(1, Inf, 3)) Ocens2Surv(Y) #> [1] 1 2+ 3