[R] survfit question - Q1 and Q3 survival time?

David Winsemius dwinsemius at comcast.net
Tue Mar 18 04:56:59 CET 2014


On Mar 17, 2014, at 5:14 AM, Therneau, Terry M., Ph.D. wrote:

> Try help("quantile.survfit")

Very handy, now that I know to look for it.

I wonder if you could add quantile.survfit, lines.survfit, and points.survfit to links on the help page for survfit.object? (I generally look for the list of available methods at the See Also section of `.objects` help pages.) 

-- 
David
> 
> Terry Therneau
> 
> ----------- begin included message -------
> Hello,
> 
> I am using the function survfit in the 'survival' package. Calling the function produces the median survival
> time automatically, as below.
> sleepfit <- survfit(Surv(timeb, death)~1)
>> sleepfit
> Call: survfit(formula = Surv(timeb, death) ~ 1)
> 
> records   n.max n.start  events  median 0.95LCL 0.95UCL
> 10761.0 10761.0 10761.0  5289.0    15.5    15.5    15.5
> 
> I was wondering, is it possible to also output the quartiles Q1 and Q3 survival times?
> 
> Regards,
> Lucy

David Winsemius
Alameda, CA, USA




More information about the R-help mailing list