Learn R Programming

⚠️There's a newer version (3.8-3) of this package.Take me there.

survival (version 2.21)

Survival analysis, including penalised likelihood.

Description

survival analysis: descriptive statistics, two-sample tests, parametric accelerated failure models, Cox model. Delayed entry (truncation) allowed for all models; interval censoring for parametric models.

Copy Link

Version

Install

install.packages('survival')

Monthly Downloads

76,335

Version

2.21

License

GPL2

Maintainer

Thomas Lumley

Last Published

December 17th, 2024

Functions in survival (2.21)

survdiff

Test Survival Curve Differences
clogit

Conditional logistic regression
aml

Acute Myelogenous Leukemia survival data
coxph.detail

Details of a Cox Model Fit
coxph

Fit Proportional Hazards Regression Model
heart

Stanford Heart Transplant data
survfit

Compute a Survival Curve for Censored Data
rats

Rat data from survival5
mdy.date

Convert to Julian Dates
bladder

Bladder Cancer Recurrences
kidney

Kidney data from survival5
predict.survreg

Predicted Values for a `survreg' Object
print.survfit

Print a Short Summary of a Survival Curve
Surv

Create a Survival Object
plot.survfit

Plot Method for `survfit'
summary.survfit

Summary of a Survival Curve
nwtco

Data from the National Wilm's Tumor Study
is.ratetable

Verify that an Object is of Class `ratetable'
ovarian

Ovarian cancer survival data
ratetable

Ratetable reference in formula
survexp

Compute Expected Survival
residuals.survreg

Compute Residuals for `survreg' Objects
cch

Fits proportional hazards regression model to case-cohort data
anova.coxph

Analysis of Deviance for Cox model.
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
ridge

Ridge regression
survexp.fit

Work Function to Compute Expected Survival
pspline

Penalised smoothing splines
colon

Chemotherapy for Stage B/C colon cancer
coxph.object

Proportional Hazards Regression Object
strata

Identify Stratum Variables
as.date

Coerce Data to Dates
date.mdy

Convert from Julian Dates to Month, Day, and Year
attrassign

Create new-style "assign" attribute
survSplit

Split a survival data set at specified times
plot.cox.zph

Graphical Test of Proportional Hazards
date.ddmmmyy

Format a Julian date
residuals.coxph

Calculate Residuals for a `coxph' Fit
date.object

Date Objects
lung

Mayo Clinic Lung Cancer Data
date.mmddyy

Format a Julian date
lines.survfit

Add Lines or Points to a Survival Plot
cluster

Identify Clusters
ratetables

Census Data Sets for the Expected Survival and Person Years Functions
frailty

(Approximate) Frailty models
survreg.distributions

Parametric Survival Distributions
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
tobin

Tobin's Tobit data
survreg

Regression for a Parametric Survival Model
survreg.old

Old (survival4) Regression for a parametric survival model
predict.coxph

Predictions for Cox model
date.mmddyyyy

Format a Julian date
survreg.object

Parametric Survival Model Object
stanford2

More Stanford Heart Transplant data
pyears

Person Years
survfit.object

Survival Curve Object
veteran

Veterans' Administration Lung Cancer study
untangle.specials

Help Process the `specials' Argument of the `terms' Function.
survobrien

O'Brien's Test for Association of a Single Variable with Survival
survreg.control

Package options for survreg and coxph
survival-internal

Internal survival functions
tcut

Factors for person-year calculations