Skip to content
Prev 26982 / 63461 Next

Adding a survival object to a data frame (PR#10510)

Your example is not reproducible without 'library(survival)'.
When I include that, I get
stime status  surv
1    176   TRUE  176
...

Objects of class "Surv" are from the contributed package survival, and you 
need that attached to deal with them properly.
On Wed, 12 Dec 2007, edward.m at psu.ac.th wrote: