Learn R Programming

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

survival (version 3.1-12)

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-12

License

LGPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Terry Therneau

Last Published

April 10th, 2020

Functions in survival (3.1-12)

basehaz

Alias for the survfit function
concordancefit

Compute the concordance
clogit

Conditional logistic regression
cch

Fits proportional hazards regression model to case-cohort data
cgd0

Chronic Granulotomous Disease data
cluster

Identify clusters.
lines.survfit

Add Lines or Points to a Survival Plot
coxph

Fit Proportional Hazards Regression Model
cipoisson

Confidence limits for the Poisson
diabetic

Ddiabetic retinopathy
coxph.wtest

Compute a quadratic form
cgd

Chronic Granulotamous Disease data
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
mgus2

Monoclonal gammopathy data
coxph.control

Ancillary arguments for controlling coxph fits
attrassign

Create new-style "assign" attribute
dsurvreg

Distributions available in survreg.
aml

Acute Myelogenous Leukemia survival data
levels.Surv

Return the states of a multi-state Surv object
lung

NCCTG Lung Cancer Data
nafld

Non-alcohol fatty liver disease
print.summary.survexp

Print Survexp Summary
survexp.fit

Compute Expected Survival
heart

Stanford Heart Transplant data
coxsurv.fit

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

Mayo Clinic Primary Biliary Cirrhosis Data
stanford2

More Stanford Heart Transplant data
flchain

Assay of serum free light chain for 7874 subjects.
finegray

Create data for a Fine-Gray model
coxph.object

Proportional Hazards Regression Object
colon

Chemotherapy for Stage B/C colon cancer
plot.survfit

Plot method for survfit objects
neardate

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

logLik method for a Cox model
frailty

Random effects terms
ratetableDate

Convert date objects to ratetable form
summary.coxph

Summary method for Cox models
strata

Identify Stratification Variables
nwtco

Data from the National Wilm's Tumor Study
rats

Rat treatment data from Mantel et al
print.summary.coxph

Print method for summary.coxph objects
logan

Data from the 1972-78 GSS data used by Logan
predict.coxph

Predictions for a Cox model
ovarian

Ovarian Cancer Survival Data
mgus

Monoclonal gammopathy data
retinopathy

Diabetic Retinopathy
print.summary.survfit

Print Survfit Summary
pbcseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
survcheck

Checks of a survival data set
udca

Data from a trial of usrodeoxycholic acid
summary.survfit

Summary of a Survival Curve
concordance

Compute the concordance statistic for data or a model
survfit0

Convert the format of a survfit object.
model.frame.coxph

Model.frame method for coxph objects
survfitcoxph.fit

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

Quantiles from a survfit object
plot.aareg

Plot an aareg object.
summary.aareg

Summarize an aareg fit
reliability

Reliability data sets
survival-internal

Internal survival functions
uspop2

Projected US Population
print.survfit

Print a Short Summary of a Survival Curve
ridge

Ridge regression
ratetable

Rate table structure
pspline

Smoothing splines using a pspline basis
tobin

Tobin's Tobit data
survdiff

Test Survival Curve Differences
is.ratetable

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

Details of a Cox Model Fit
survreg

Regression for a Parametric Survival Model
transplant

Liver transplant waiting list
survexp.object

Expected Survival Curve Object
summary.pyears

Summary function for pyears objecs
residuals.survreg

Compute Residuals for `survreg' Objects
survobrien

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

Draw a state space figure.
vcov.coxph

Variance-covariance matrix
predict.survreg

Predicted Values for a `survreg' Object
kidney

Kidney catheter data
residuals.coxph

Calculate Residuals for a `coxph' Fit
model.matrix.coxph

Model.matrix method for coxph models
survexp

Compute Expected Survival
myeloid

Acute myeloid leukemia
plot.cox.zph

Graphical Test of Proportional Hazards
rats2

Rat data from Gail et al.
veteran

Veterans' Administration Lung Cancer study
survConcordance

Compute a concordance measure.
survfit.object

Survival Curve Object
survreg.distributions

Parametric Survival Distributions
summary.survexp

Summary function for a survexp object
tcut

Factors for person-year calculations
survSplit

Split a survival data set at specified times
rhDNase

rhDNASE data set
survfit.coxph

Compute a Survival Curve from a Cox model
survfit

Create survival curves
xtfrm.Surv

Sorting order for Surv objects
pyears

Person Years
solder

Data from a soldering experiment
tmerge

Time based merge for survival data
ratetables

Census Data Sets for the Expected Survival and Person Years Functions
print.aareg

Print an aareg object
survreg.object

Parametric Survival Model Object
survregDtest

Verify a survreg distribution
survfit.formula

Compute a Survival Curve for Censored Data
survfit.matrix

Create Aalen-Johansen estimates of multi-state survival from a matrix of hazards.
survreg.control

Package options for survreg and coxph
yates

Population prediction
yates_setup

Method for adding new models to the yates function.
untangle.specials

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

Create a Survival Object
aeqSurv

Adjudicate near ties in a Surv object
bladder

Bladder Cancer Recurrences
agreg.fit

Cox model fitting functions
aareg

Aalen's additive regression model for censored data
anova.coxph

Analysis of Deviance for a Cox model.
Surv-methods

Methods for Surv objects