Other packages > Find by keyword >

survival  

Survival Analysis
View on CRAN: Click here


Download and install survival package within the R console
Install from CRAN:
install.packages("survival")

Install from Github:
library("remotes")
install_github("cran/survival")

Install by package version:
library("remotes")
install_version("survival", "3.8-6")



Attach the package and use:
library("survival")
Maintained by
Terry M Therneau
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2001-06-22
Latest Update: 2024-12-17
Description:
Contains the core survival analysis routines, including definition of Surv objects, Kaplan-Meier and Aalen-Johansen (multi-state) curves, Cox models, and parametric accelerated failure time models.
How to cite:
Terry M Therneau (2001). survival: Survival Analysis. R package version 3.8-6, https://cran.r-project.org/web/packages/survival. Accessed 25 Jun. 2026.
Previous versions and publish date:
2.6 (2001-06-22 17:07), 2.8-2 (2001-12-19 17:40), 2.9-1 (2002-04-28 10:08), 2.9-2 (2002-05-17 09:32), 2.9-3 (2002-06-02 10:07), 2.9-4 (2002-06-14 13:02), 2.9-6 (2002-07-09 16:27), 2.9-7 (2003-04-16 21:21), 2.9-10 (2003-05-25 20:21), 2.9-11 (2003-08-12 00:27), 2.9-12 (2003-09-02 18:21), 2.9-13 (2003-09-05 08:04), 2.9-14 (2003-09-19 07:55), 2.9-15 (2003-10-21 17:36), 2.9-16 (2003-11-24 00:49), 2.11-4 (2004-04-12 14:50), 2.11-5 (2004-06-02 10:40), 2.11 (2003-12-28 12:41), 2.13-1 (2004-08-05 12:27), 2.13-2 (2004-10-04 11:14), 2.13 (2004-08-01 13:24), 2.15 (2004-10-27 09:19), 2.16 (2004-11-16 09:58), 2.17 (2005-04-06 09:39), 2.18 (2005-06-10 09:21), 2.19 (2005-09-10 14:35), 2.20 (2005-09-30 19:23), 2.21 (2006-02-08 11:31), 2.22 (2006-03-17 12:27), 2.23 (2006-04-07 10:46), 2.24 (2006-04-15 21:37), 2.25 (2006-05-17 08:46), 2.26 (2006-05-19 22:44), 2.28 (2006-08-19 09:06), 2.29 (2006-09-29 12:32), 2.30 (2006-11-30 12:08), 2.31 (2007-01-31 16:40), 2.32 (2007-06-18 23:41), 2.33 (2007-10-09 21:58), 2.34-1 (2008-04-02 09:14), 2.34 (2007-10-16 20:39), 2.35-2 (2009-03-20 13:54), 2.35-3 (2009-03-20 17:52), 2.35-4 (2009-04-01 19:02), 2.35-5 (2009-08-25 10:05), 2.35-6 (2009-09-07 19:10), 2.35-7 (2009-09-09 19:03), 2.35-8 (2009-12-21 18:43), 2.36-1 (2010-11-03 20:40), 2.36-2 (2010-11-22 15:57), 2.36-3 (2011-02-15 18:08), 2.36-4 (2011-02-18 08:27), 2.36-5 (2011-02-21 17:20), 2.36-7 (2011-04-14 09:31), 2.36-8 (2011-04-14 18:46), 2.36-9 (2011-04-28 21:03), 2.36-10 (2011-10-01 10:39), 2.36-12 (2012-02-06 18:16), 2.36-13 (2012-04-24 17:31), 2.36-14 (2012-04-25 21:44), 2.37-2 (2012-12-08 06:19), 2.37-4 (2013-03-27 07:14), 2.37-6 (2014-01-16 16:31), 2.37-7 (2014-01-22 17:49), 2.38-1 (2015-02-24 11:09), 2.38-2 (2015-06-12 10:26), 2.38-3 (2015-07-02 08:40), 2.39-2 (2016-04-16 19:26), 2.39-3 (2016-05-05 15:55), 2.39-4 (2016-05-11 11:45), 2.39-5 (2016-06-26 14:19), 2.40-1 (2016-10-30 20:29), 2.41-1 (2017-03-01 19:10), 2.41-2 (2017-03-16 14:24), 2.41-3 (2017-04-04 21:31), 2.42-3.1 (2018-04-24 12:17), 2.42-3 (2018-04-16 20:26), 2.42-4 (2018-07-02 11:28), 2.42-6 (2018-07-13 09:50), 2.43-1 (2018-10-29 20:20), 2.43-3 (2018-11-27 00:00), 2.44-1.1 (2019-04-01 10:42), 2.44-1 (2019-03-30 17:30), 3.1-6 (2019-11-06 09:10), 3.1-7 (2019-11-09 06:30), 3.1-8 (2019-12-03 18:30), 3.1-11 (2020-03-07 13:10), 3.1-12 (2020-04-10 10:20), 3.2-3 (2020-06-13 17:30), 3.2-7 (2020-09-28 10:20), 3.2-9 (2021-03-14 13:20), 3.2-10 (2021-03-16 14:20), 3.2-11 (2021-04-26 08:30), 3.2-12 (2021-08-13 12:10), 3.2-13 (2021-08-24 14:50), 3.3-0 (2022-03-01 19:10), 3.3-1 (2022-03-03 16:40), 3.4-0.1 (2023-01-03 13:08), 3.4-0 (2022-08-09 14:10), 3.5-0 (2023-01-09 23:50), 3.5-3 (2023-02-12 22:30), 3.5-5 (2023-03-12 11:20), 3.5-7 (2023-08-14 09:10), 3.5-8 (2024-02-14 11:20), 3.6-4 (2024-04-24 08:50), 3.7-0 (2024-06-05 18:30), 3.8-3 (2024-12-17 21:20)
Other packages that cited survival R package
View survival citation profile
Other R packages that survival depends, imports, suggests or enhances
Complete documentation for survival
Functions, R codes and Examples using the survival R package
Some associated functions: Surv . Surv2 . Surv2data . Survmethods . aareg . aeqSurv . aggregate.survfit . agreg.fit . aml . anova.coxph . attrassign . basehaz . bladder . blogit . brier . cch . cgd . cgd0 . cipoisson . clogit . cluster . colon . concordance . concordancefit . cox.zph . coxph.control . coxph.detail . coxph . coxphject . coxph.wtest . coxphmsject . coxsurv.fit . diabetic . dsurvreg . finegray . flchain . frailty . gbsg . heart . hoel . is.ratetable . kidney . levels.Surv . lines.survfit . logLik.coxph . logan . lung . mgus . mgus2 . model.frame.coxph . model.matrix.coxph . myeloid . myeloma . nafld . neardate . nsk . nwtco . ovarian . pbc . pbcseq . plot.aareg . plot.cox.zph . plot.survfit . predict.coxph . predict.survreg . print.aareg . print.summary.coxph . print.summary.survexp . print.summary.survfit . print.survfit . pseudo . pspline . pyears . quantile.survfit . ratetable . ratetableDate . rats . rats2 . reliability . residuals.coxph . residuals.survfit . residuals.survreg . retinopathy . rhDNase . ridge . rotterdam . royston . rttright . solder . stanford2 . statefig . strata . summary.aareg . summary.coxph . summary.pyears . summary.survexp . summary.survfit . survSplit . survcheck . survcondense . survdiff . survexp.fit . survexp . survexpject . survexp.us . survfit.coxph . survfit.formula . survfit.matrix . survfit . survfitject . survfit0 . survfitcoxph.fit . survival-deprecated . survival-internal . survobrien . survreg.control . survreg.distributions . survreg . survregject . survregDtest . tcut . tmerge . tobin . transplant . udca . untangle.specials . uspop2 . vcov.coxph . veteran . xtfrm.Surv . yates . yates_setup . 
Some associated R codes: Surv.R . Surv2.R . aareg.R . aareg.taper.R . aeqSurv.R . agexact.fit.R . aggregate.survfit.R . agreg.fit.R . agsurv.R . anova.coxph.R . anova.coxph.penal.R . anova.coxphlist.R . anova.survreg.R . anova.survreglist.R . attrassign.R . basehaz.R . blogit.R . brier.R . cch.R . cipoisson.R . clogit.R . cluster.R . concordance.R . cox.zph.R . coxexact.fit.R . coxpenal.df.R . coxpenal.fit.R . coxph.R . coxph.control.R . coxph.detail.R . coxph.fit.R . coxph.getdata.R . coxph.wtest.R . coxsurvfit.R . drop.special.R . dsurvreg.R . finegray.R . firstlib.R . frailty.R . frailty.brent.R . frailty.controlaic.R . frailty.controldf.R . frailty.controlgam.R . frailty.controlgauss.R . frailty.gamma.R . frailty.gammacon.R . frailty.gaussian.R . frailty.t.R . is.na.coxph.penalty.R . is.ratetable.R . labels.survreg.R . lines.aareg.R . lines.survexp.R . lines.survfit.coxph.R . logLik.coxph.R . match.ratetable.R . methods.R . model.frame.survfit.R . model.frame.survreg.R . model.matrix.coxph.R . neardate.R . normalizetime.R . nsk.R . pade.R . parsecovar.R . plot.aareg.R . plot.cox.zph.R . plot.survfit.R . predict.coxph.R . predict.coxph.penal.R . predict.coxphms.R . predict.survreg.R . predict.survreg.penal.R . print.aareg.R . print.coxph.R . print.coxph.null.R . print.coxph.penal.R . print.pyears.R . print.ratetable.R . print.summary.coxph.R . print.summary.coxph.penal.R . print.summary.survexp.R . print.summary.survfit.R . print.summary.survfitms.R . print.summary.survreg.R . print.survcheck.R . print.survdiff.R . print.survexp.R . print.survfit.R . print.survreg.R . print.survreg.penal.R . pseudo.R . pspline.R . pyears.R . quantile.survfit.R . ratetable.R . ratetableDate.R . ratetableold.R . residcsum.R . residuals.coxph.R . residuals.coxph.null.R . residuals.coxph.penal.R . residuals.survfit.R . residuals.survfitcoxms.R . residuals.survreg.R . residuals.survreg.penal.R . ridge.R . royston.R . rttright.R . stacker.R . statefig.R . strata.R . summary.aareg.R . summary.coxph.R . summary.coxph.penal.R . summary.ratetable.R . summary.survexp.R . summary.survreg.R . surv2data.R . survConcordance.R . survConcordance.fit.R . survSplit.R . survcallback.R . survcheck.R . survcondense.R . survdiff.R . survdiff.fit.R . survexp.R . survexp.cfit.R . survexp.fit.R . survexpm.R . survfit.R . survfit.coxph.R . survfit.coxphms.R . survfit.matrix.R . survfit0.R . survfitCI.R . survfitKM.R . survfitTurnbull.R . survfitcoxph.fit.R . survfitms.R . survobrien.R . survpenal.fit.R . survreg.R . survreg.control.R . survreg.distributions.R . survreg.fit.R . survregDtest.R . tcut.R . tmerge.R . untangle.specials.R . xtras.R . yates.R .  Full survival package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

sitmo  
Parallel Pseudo Random Number Generator (PPRNG) 'sitmo' Header Files
Provided within are two high quality and fast PPRNGs that may be used in an 'OpenMP' parallel enviro ...
Download / Learn more Package Citations See dependency  
airGRiwrm  
'airGR' Integrated Water Resource Management
Semi-distributed Precipitation-Runoff Modelling based on 'airGR' package models integrating human i ...
Download / Learn more Package Citations See dependency  
edeaR  
Exploratory and Descriptive Event-Based Data Analysis
Exploratory and descriptive analysis of event based data. Provides methods for describing and select ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
foster  
Forest Structure Extrapolation with R
Set of tools to streamline the modeling of the relationship betweensatellite imagery time series or ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA