# survival (R)

> Survival analysis routines for R

Source: https://talira.ai/catalog/survival-r-zvgzah49
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / math / statistics](https://talira.ai/categories/libraries/math/statistics), [languages / r](https://talira.ai/categories/languages/r)
- Licence: LGPL-2.0-or-later[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Terry Therneau](https://talira.ai/orgs/terry-therneau.md)

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.

## Links

- GitHub: https://github.com/therneau/survival
- Docs: https://cran.r-project.org/web/packages/survival/survival.pdf

## 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

## Trust

Overall: 0.46 out of 1.
Signals: maintenance 0.70, adoption 0.53, momentum 0.20, community 0.46, backing 0.30, extensibility 0.00.

- last commit 7 days ago
- 15 commits in the last 90 days
- 453 GitHub stars
- 13 contributors
- backed by Terry Therneau

## Sources

[^1]: https://cran.r-project.org/web/packages/survival/index.html (checked 28 Nov 2026)
