Learn R Programming

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

survival (version 2.16)

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

89,719

Version

2.16

License

GPL2

Maintainer

Thomas Lumley

Last Published

December 17th, 2024

Functions in survival (2.16)

ratetable

Ratetable reference in formula
residuals.survreg

Compute Residuals for `survreg' Objects
bladder

Bladder Cancer Recurrences
survSplit

Split a survival data set at specified times
stanford2

More Stanford Heart Transplant data
cluster

Identify Clusters
ridge

Ridge regression
summary.survfit

Summary of a Survival Curve
anova.coxph

Analysis of Deviance for Cox model.
coxph.object

Proportional Hazards Regression Object
coxph

Fit Proportional Hazards Regression Model
lung

Mayo Clinic Lung Cancer Data
date.mmddyyyy

Format a Julian date
clogit

Conditional logistic regression
plot.cox.zph

Graphical Test of Proportional Hazards
kidney

Kidney data from survival5
strata

Identify Stratum Variables
pyears

Person Years
as.date

Coerce Data to Dates
survival-internal

Internal survival functions
date.object

Date Objects
survexp

Compute Expected Survival
colon

Chemotherapy for Stage B/C colon cancer
survreg.control

Package options for survreg and coxph
survexp.fit

Work Function to Compute Expected Survival
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
frailty

(Approximate) Frailty models
predict.coxph

Predictions for Cox model
Surv

Create a Survival Object
ratetables

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

Test Survival Curve Differences
date.mdy

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

Stanford Heart Transplant data
survfit.object

Survival Curve Object
tcut

Factors for person-year calculations
date.ddmmmyy

Format a Julian date
mdy.date

Convert to Julian Dates
attrassign

Create new-style "assign" attribute
survreg

Regression for a Parametric Survival Model
residuals.coxph

Calculate Residuals for a `coxph' Fit
veteran

Veterans' Administration Lung Cancer study
lines.survfit

Add Lines or Points to a Survival Plot
survobrien

O'Brien's Test for Association of a Single Variable with Survival
is.ratetable

Verify that an Object is of Class `ratetable'
print.survfit

Print a Short Summary of a Survival Curve
survreg.object

Parametric Survival Model Object
plot.survfit

Plot Method for `survfit'
pspline

Penalised smoothing splines
coxph.detail

Details of a Cox Model Fit
survreg.distributions

Parametric Survival Distributions
predict.survreg

Predicted Values for a `survreg' Object
date.mmddyy

Format a Julian date
rats

Rat data from survival5
survfit

Compute a Survival Curve for Censored Data
untangle.specials

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

Tobin's Tobit data
aml

Acute Myelogenous Leukemia survival data
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
ovarian

Ovarian cancer survival data
survreg.old

Old (survival4) Regression for a parametric survival model