Learn R Programming

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

survival (version 2.18)

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

112,573

Version

2.18

License

GPL2

Maintainer

Thomas Lumley

Last Published

December 17th, 2024

Functions in survival (2.18)

survreg.object

Parametric Survival Model Object
predict.survreg

Predicted Values for a `survreg' Object
aml

Acute Myelogenous Leukemia survival data
anova.coxph

Analysis of Deviance for Cox model.
heart

Stanford Heart Transplant data
kidney

Kidney data from survival5
coxph.detail

Details of a Cox Model Fit
residuals.coxph

Calculate Residuals for a `coxph' Fit
clogit

Conditional logistic regression
as.date

Coerce Data to Dates
colon

Chemotherapy for Stage B/C colon cancer
ridge

Ridge regression
lung

Mayo Clinic Lung Cancer Data
plot.survfit

Plot Method for `survfit'
predict.coxph

Predictions for Cox model
tcut

Factors for person-year calculations
untangle.specials

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

(Approximate) Frailty models
date.mmddyyyy

Format a Julian date
date.object

Date Objects
tobin

Tobin's Tobit data
survfit.object

Survival Curve Object
stanford2

More Stanford Heart Transplant data
survreg.distributions

Parametric Survival Distributions
summary.survfit

Summary of a Survival Curve
bladder

Bladder Cancer Recurrences
mdy.date

Convert to Julian Dates
plot.cox.zph

Graphical Test of Proportional Hazards
strata

Identify Stratum Variables
survexp

Compute Expected Survival
pyears

Person Years
survreg.control

Package options for survreg and coxph
residuals.survreg

Compute Residuals for `survreg' Objects
pspline

Penalised smoothing splines
coxph.object

Proportional Hazards Regression Object
coxph

Fit Proportional Hazards Regression Model
survobrien

O'Brien's Test for Association of a Single Variable with Survival
attrassign

Create new-style "assign" attribute
lines.survfit

Add Lines or Points to a Survival Plot
veteran

Veterans' Administration Lung Cancer study
survSplit

Split a survival data set at specified times
print.survfit

Print a Short Summary of a Survival Curve
Surv

Create a Survival Object
rats

Rat data from survival5
date.mdy

Convert from Julian Dates to Month, Day, and Year
survival-internal

Internal survival functions
ovarian

Ovarian cancer survival data
cluster

Identify Clusters
date.ddmmmyy

Format a Julian date
survdiff

Test Survival Curve Differences
survexp.fit

Work Function to Compute Expected Survival
ratetable

Ratetable reference in formula
survreg.old

Old (survival4) Regression for a parametric survival model
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
survfit

Compute a Survival Curve for Censored Data
date.mmddyy

Format a Julian date
ratetables

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

Regression for a Parametric Survival Model
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
is.ratetable

Verify that an Object is of Class `ratetable'