Learn R Programming

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

survival (version 2.44-1)

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

80,697

Version

2.44-1

License

LGPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Terry Therneau

Last Published

March 30th, 2019

Functions in survival (2.44-1)

agreg.fit

Cox model fitting functions
concordance

Compute the concordance statistic for data or a model
aeqSurv

Adjudicate near ties in a Surv object
concordancefit

Compute the concordance
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
basehaz

Alias for the survfit function
bladder

Bladder Cancer Recurrences
clogit

Conditional logistic regression
cluster

Identify clusters.
coxph.detail

Details of a Cox Model Fit
kidney

Kidney catheter data
coxph.object

Proportional Hazards Regression Object
heart

Stanford Heart Transplant data
levels.Surv

Return the states of a multi-state Surv object
dsurvreg

Distributions available in survreg.
finegray

Create data for a Fine-Gray model
lines.survfit

Add Lines or Points to a Survival Plot
is.ratetable

Verify that an object is of class ratetable.
model.frame.coxph

Model.frame method for coxph objects
model.matrix.coxph

Model.matrix method for coxph models
myeloid

Acute myeloid leukemia
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
print.summary.coxph

Print method for summary.coxph objects
pspline

Smoothing splines using a pspline basis
print.summary.survexp

Print Survexp Summary
quantile.survfit

Quantiles from a survfit object
retinopathy

Diabetic Retinopathy
pyears

Person Years
ratetableDate

Convert date objects to ratetable form
rats

Rat treatment data from Mantel et al
ridge

Ridge regression
rhDNase

rhDNASE data set
strata

Identify Stratification Variables
summary.aareg

Summarize an aareg fit
survexp.fit

Compute Expected Survival
survexp.object

Expected Survival Curve Object
solder

Data from a soldering experiment
ratetable

Rate table structure
summary.survexp

Summary function for a survexp object
uspop2

Projected US Population
survfitcoxph.fit

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

Variance-covariance matrix
summary.survfit

Summary of a Survival Curve
survConcordance

Compute a concordance measure.
survSplit

Split a survival data set at specified times
survival-internal

Internal survival functions
survfit.matrix

Create Aalen-Johansen estimates of multi-state survival from a matrix of hazards.
survfit.object

Survival Curve Object
tobin

Tobin's Tobit data
transplant

Liver transplant waiting list
udca

Data from a trial of usrodeoxycholic acid
untangle.specials

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

Population prediction
yates_setup

Method for adding new models to the yates function.
cch

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

Analysis of Deviance for a Cox model.
cgd

Chronic Granulotamous Disease data
flchain

Assay of serum free light chain for 7874 subjects.
attrassign

Create new-style "assign" attribute
frailty

Random effects terms
mgus

Monoclonal gammopathy data
mgus2

Monoclonal gammopathy data
Surv

Create a Survival Object
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
cgd0

Chronic Granulotomous Disease data
cipoisson

Confidence limits for the Poisson
pbcseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
coxph

Fit Proportional Hazards Regression Model
coxph.control

Ancillary arguments for controlling coxph fits
predict.survreg

Predicted Values for a `survreg' Object
plot.aareg

Plot an aareg object.
plot.cox.zph

Graphical Test of Proportional Hazards
print.aareg

Print an aareg object
print.summary.survfit

Print Survfit Summary
residuals.coxph

Calculate Residuals for a `coxph' Fit
residuals.survreg

Compute Residuals for `survreg' Objects
Surv-methods

Methods for Surv objects
summary.coxph

Summary method for Cox models
print.survfit

Print a Short Summary of a Survival Curve
summary.pyears

Summary function for pyears objecs
coxph.wtest

Compute a quadratic form
diabetic

Ddiabetic retinopathy
rats2

Rat data from Gail et al.
reliability

Reliability data sets
logan

Data from the 1972-78 GSS data used by Logan
ratetables

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

More Stanford Heart Transplant data
survfit

Create survival curves
statefig

Draw a state space figure.
lung

NCCTG Lung Cancer Data
survfit.coxph

Compute a Survival Curve from a Cox model
nwtco

Data from the National Wilm's Tumor Study
ovarian

Ovarian Cancer Survival Data
plot.survfit

Plot method for survfit objects
predict.coxph

Predictions for a Cox model
survdiff

Test Survival Curve Differences
survfit.formula

Compute a Survival Curve for Censored Data
survexp

Compute Expected Survival
survreg.object

Parametric Survival Model Object
survobrien

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

Regression for a Parametric Survival Model
veteran

Veterans' Administration Lung Cancer study
xtfrm.Surv

Sorting order for Surv objects
survregDtest

Verify a survreg distribution
survreg.control

Package options for survreg and coxph
survreg.distributions

Parametric Survival Distributions
tcut

Factors for person-year calculations
tmerge

Time based merge for survival data
aml

Acute Myelogenous Leukemia survival data
aareg

Aalen's additive regression model for censored data
colon

Chemotherapy for Stage B/C colon cancer