Well, that took a bit of detective work! Thanks. I am still not doing something right here in my efforts to implement the "easy way". Can you point out my error? > > library(survival) > library(ISwR) > dat.s <- Surv(melanom$days,melanom$status==1) > fit <- survfit(dat.s~1) > print(fit, print.rmean=TRUE) Call: survfit(formula = dat.s ~ 1)
records n.max n.start events *rmean *se(rmean) median 205 205 205 57 4125 161 NA 0.95LCL 0.95UCL NA NA * restricted mean with upper limit = 5565 > sfit <- summary(fit) > sfit$table[ ,5] Error in sfit$table[, 5] : incorrect number of dimensions -- View this message in context: http://r.789695.n4.nabble.com/simple-save-question-tp3429148p3664808.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.