survival (was Re: [R] heap memory exhausted)
thomas at biostat.washington.edu
Sat Nov 28 20:09:58 CET 1998
On Fri, 27 Nov 1998, Alvaro A. Novo wrote:
> I need to perform survival analysis and could not find the S+ functions:
> - survfit (fits a Kaplan-Meier survival curve), or
> - coxph (fits a Cox proportional hazards model)
These are in the separate survival4 library, available from the
Comprehensive R Archive Network. They are not built in to R because their
license is somewhat different from the GPL and because they would take up
a lot of space
You need to install survival4 and then load it with
if you need survival analysis.
You might well also want to get the splines library (which is needed by
plot.cox.zph), the ratetables library (which contains the US mortality
rate tables used by survexp) and the date library (which contains date
There will be a new survival5 library fairly soon (Terry Therneau is
releasing it for S in a few weeks, and I expect it will be fairly easy to
Assistant Professor, Biostatistics
University of Washington, Seattle.
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help