Learn R Programming

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

survival (version 2.22)

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

License

GPL2

Maintainer

Thomas Lumley

Last Published

December 17th, 2024

Functions in survival (2.22)

residuals.coxph

Calculate Residuals for a `coxph' Fit
date.mdy

Convert from Julian Dates to Month, Day, and Year
date.mmddyy

Format a Julian date
ridge

Ridge regression
anova.coxph

Analysis of Deviance for Cox model.
lung

Mayo Clinic Lung Cancer Data
lines.survfit

Add Lines or Points to a Survival Plot
is.ratetable

Verify that an Object is of Class `ratetable'
stanford2

More Stanford Heart Transplant data
predict.coxph

Predictions for Cox model
bladder

Bladder Cancer Recurrences
cluster

Identify Clusters
survfit.object

Survival Curve Object
cch

Fits proportional hazards regression model to case-cohort data
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
veteran

Veterans' Administration Lung Cancer study
survreg.object

Parametric Survival Model Object
tobin

Tobin's Tobit data
survobrien

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

Package options for survreg and coxph
untangle.specials

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

Test Survival Curve Differences
mdy.date

Convert to Julian Dates
survival-internal

Internal survival functions
survreg.old

Old (survival4) Regression for a parametric survival model
print.survfit

Print a Short Summary of a Survival Curve
clogit

Conditional logistic regression
date.mmddyyyy

Format a Julian date
coxph

Fit Proportional Hazards Regression Model
ratetable

Ratetable reference in formula
date.object

Date Objects
ovarian

Ovarian cancer survival data
survSplit

Split a survival data set at specified times
pyears

Person Years
plot.survfit

Plot Method for `survfit'
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
pspline

Penalised smoothing splines
attrassign

Create new-style "assign" attribute
survexp.fit

Work Function to Compute Expected Survival
survexp

Compute Expected Survival
kidney

Kidney data from survival5
as.date

Coerce Data to Dates
coxph.object

Proportional Hazards Regression Object
survfit

Compute a Survival Curve for Censored Data
frailty

(Approximate) Frailty models
nwtco

Data from the National Wilm's Tumor Study
summary.survfit

Summary of a Survival Curve
plot.cox.zph

Graphical Test of Proportional Hazards
tcut

Factors for person-year calculations
survreg.distributions

Parametric Survival Distributions
survreg

Regression for a Parametric Survival Model
predict.survreg

Predicted Values for a `survreg' Object
colon

Chemotherapy for Stage B/C colon cancer
ratetables

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

Stanford Heart Transplant data
Surv

Create a Survival Object
strata

Identify Stratum Variables
rats

Rat data from survival5
aml

Acute Myelogenous Leukemia survival data
coxph.detail

Details of a Cox Model Fit
date.ddmmmyy

Format a Julian date
residuals.survreg

Compute Residuals for `survreg' Objects