Survival analysis routines for R
open sourceLGPL-2.0-or-laterfree
survival is the core R package for survival analysis: it defines Surv objects and fits Kaplan-Meier and Aalen-Johansen (multi-state) curves, Cox proportional hazards models and parametric accelerated failure time models. CRAN marks it a recommended package, and it comes with vignettes on competing risks, concordance, adjusted survival curves and more. It is LGPL (2 or later), maintained by Terry Therneau, with Thomas Lumley as the original S-to-R port.
Problems it solves
- fit a Cox proportional hazards model in R
- plot Kaplan-Meier survival curves for a clinical study
- analyse time-to-event data with competing risks in R
Features
- Surv objects
- Kaplan-Meier and Aalen-Johansen curves
- Cox proportional hazards models
- parametric accelerated failure time models
- multi-state models and competing risks