Learn R Programming

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

survival (version 3.1-11)

Survival Analysis

Description

Contains the core survival analysis routines, including definition of Surv objects, Kaplan-Meier and Aalen-Johansen (multi-state) curves, Cox models, and parametric accelerated failure time models.

Copy Link

Version

Install

install.packages('survival')

Monthly Downloads

116,731

Version

3.1-11

License

LGPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Terry Therneau

Last Published

March 7th, 2020

Functions in survival (3.1-11)

Surv

Create a Survival Object
agreg.fit

Cox model fitting functions
aareg

Aalen's additive regression model for censored data
bladder

Bladder Cancer Recurrences
Surv-methods

Methods for Surv objects
aml

Acute Myelogenous Leukemia survival data
aeqSurv

Adjudicate near ties in a Surv object
attrassign

Create new-style "assign" attribute
basehaz

Alias for the survfit function
anova.coxph

Analysis of Deviance for a Cox model.
cgd0

Chronic Granulotomous Disease data
concordancefit

Compute the concordance
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
colon

Chemotherapy for Stage B/C colon cancer
cipoisson

Confidence limits for the Poisson
clogit

Conditional logistic regression
concordance

Compute the concordance statistic for data or a model
cluster

Identify clusters.
flchain

Assay of serum free light chain for 7874 subjects.
finegray

Create data for a Fine-Gray model
diabetic

Ddiabetic retinopathy
coxph.control

Ancillary arguments for controlling coxph fits
dsurvreg

Distributions available in survreg.
lines.survfit

Add Lines or Points to a Survival Plot
levels.Surv

Return the states of a multi-state Surv object
frailty

Random effects terms
coxph

Fit Proportional Hazards Regression Model
cch

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

Proportional Hazards Regression Object
cgd

Chronic Granulotamous Disease data
model.matrix.coxph

Model.matrix method for coxph models
coxph.detail

Details of a Cox Model Fit
myeloid

Acute myeloid leukemia
lung

NCCTG Lung Cancer Data
print.summary.coxph

Print method for summary.coxph objects
coxph.wtest

Compute a quadratic form
heart

Stanford Heart Transplant data
mgus

Monoclonal gammopathy data
nafld

Non-alcohol fatty liver disease
logLik.coxph

logLik method for a Cox model
print.summary.survexp

Print Survexp Summary
nwtco

Data from the National Wilm's Tumor Study
strata

Identify Stratification Variables
quantile.survfit

Quantiles from a survfit object
ratetable

Rate table structure
ovarian

Ovarian Cancer Survival Data
print.summary.survfit

Print Survfit Summary
neardate

Find the index of the closest value in data set 2, for each entry in data set one.
coxsurv.fit

A direct interface to the `computational engine' of survfit.coxph
ratetableDate

Convert date objects to ratetable form
print.survfit

Print a Short Summary of a Survival Curve
logan

Data from the 1972-78 GSS data used by Logan
is.ratetable

Verify that an object is of class ratetable.
predict.coxph

Predictions for a Cox model
plot.survfit

Plot method for survfit objects
survexp.fit

Compute Expected Survival
residuals.coxph

Calculate Residuals for a `coxph' Fit
summary.aareg

Summarize an aareg fit
survexp

Compute Expected Survival
residuals.survreg

Compute Residuals for `survreg' Objects
mgus2

Monoclonal gammopathy data
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
kidney

Kidney catheter data
rats

Rat treatment data from Mantel et al
plot.aareg

Plot an aareg object.
rhDNase

rhDNASE data set
ridge

Ridge regression
solder

Data from a soldering experiment
survfit.matrix

Create Aalen-Johansen estimates of multi-state survival from a matrix of hazards.
model.frame.coxph

Model.frame method for coxph objects
predict.survreg

Predicted Values for a `survreg' Object
pbcseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
retinopathy

Diabetic Retinopathy
plot.cox.zph

Graphical Test of Proportional Hazards
survfit.formula

Compute a Survival Curve for Censored Data
udca

Data from a trial of usrodeoxycholic acid
summary.survexp

Summary function for a survexp object
summary.survfit

Summary of a Survival Curve
survival-internal

Internal survival functions
survregDtest

Verify a survreg distribution
survobrien

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

Test Survival Curve Differences
survcheck

Checks of a survival data set
survfitcoxph.fit

A direct interface to the `computational engine' of survfit.coxph
tcut

Factors for person-year calculations
survreg.object

Parametric Survival Model Object
untangle.specials

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

Rat data from Gail et al.
survreg

Regression for a Parametric Survival Model
xtfrm.Surv

Sorting order for Surv objects
veteran

Veterans' Administration Lung Cancer study
pspline

Smoothing splines using a pspline basis
reliability

Reliability data sets
print.aareg

Print an aareg object
tmerge

Time based merge for survival data
summary.coxph

Summary method for Cox models
summary.pyears

Summary function for pyears objecs
yates

Population prediction
pyears

Person Years
survConcordance

Compute a concordance measure.
statefig

Draw a state space figure.
stanford2

More Stanford Heart Transplant data
yates_setup

Method for adding new models to the yates function.
survfit

Create survival curves
survexp.object

Expected Survival Curve Object
survSplit

Split a survival data set at specified times
survfit.object

Survival Curve Object
ratetables

Census Data Sets for the Expected Survival and Person Years Functions
survfit.coxph

Compute a Survival Curve from a Cox model
survreg.control

Package options for survreg and coxph
survreg.distributions

Parametric Survival Distributions
tobin

Tobin's Tobit data
survfit0

Convert the format of a survfit object.
vcov.coxph

Variance-covariance matrix
uspop2

Projected US Population
transplant

Liver transplant waiting list