survival (was Re: [R] heap memory exhausted)

Thomas Lumley thomas at biostat.washington.edu
Sat Nov 28 20:09:58 CET 1998


On Fri, 27 Nov 1998, Alvaro A. Novo wrote:

> Hi,
> 
> 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 
 R>  library(survival4)
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
functions).

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 
port)


Thomas Lumley
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 mailing list