Learn R Programming

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

survival (version 2.6)

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.6

License

GPL2

Maintainer

Thomas Lumley

Last Published

December 17th, 2024

Functions in survival (2.6)

coxph.object

Proportional Hazards Regression Object
date.mmddyyyy

Format a Julian date
lung

Mayo Clinic Lung Cancer Data
lines.survfit

Add Lines or Points to a Survival Plot
bladder

Bladder Cancer Recurrences
residuals.coxph

Calculate Residuals for a `coxph' Fit
kidney

Kidney data from survival5
plot.cox.zph

Graphical Test of Proportional Hazards
clogit

Conditional logistic regression
rats

Rat data from survival5
survreg.control

Package options for survreg and coxph
print.survfit

Print a Short Summary of a Survival Curve
ridge

Ridge regression
attrassign

Create new-style "assign" attribute
ovarian

Ovarian cancer survival data
stanford2

More Stanford Heart Transplant data
cluster

Identify Clusters
date.ddmmmyy

Format a Julian date
mdy.date

Convert to Julian Dates
predict.coxph

Predictions for Cox model
ratetables

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

Acute Myelogenous Leukemia survival data
survreg

Regression for a Parametric Survival Model
coxph.detail

Details of a Cox Model Fit
coxph

Fit Proportional Hazards Regression Model
pyears

Person Years
frailty

(Approximate) Frailty models
survobrien

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

Parametric Survival Model Object
veteran

Veterans' Administration Lung Cancer study
plot.survfit

Plot Method for `survfit'
as.date

Coerce Data to Dates
date.mdy

Convert from Julian Dates to Month, Day, and Year
survreg.distributions

Parametric Survival Distributions
untangle.specials

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

Compute a Survival Curve for Censored Data
survexp.fit

Work Function to Compute Expected Survival
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
colon

Chemotherapy for Stage B/C colon cancer
survsum

Kaplan-Meier Survival Curve and Percentages at Selected Times
pspline

Penalised smoothing splines
survfit.object

Survival Curve Object
summary.survfit

Summary of a Survival Curve
ratetable

Ratetable reference in formula
survdiff

Test Survival Curve Differences
survexp

Compute Expected Survival
is.ratetable

Verify that an Object is of Class `ratetable'
date.object

Date Objects
date.mmddyy

Format a Julian date
predict.survreg

Predicted Values for a `survreg' Object
heart

Stanford Heart Transplant data
residuals.survreg

Compute Residuals for `survreg' Objects
strata

Identify Strata Variables
survreg.old

Old (survival4) Regression for a parametric survival model
Surv

Create a Survival Object
pbc

Mayo Clinic Primary Biliary Cirrhosis Data