Learn R Programming

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

survival (version 3.2-3)

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

98,782

Version

3.2-3

License

LGPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Terry Therneau

Last Published

June 13th, 2020

Functions in survival (3.2-3)

Surv2

Create a survival object
attrassign

Create new-style "assign" attribute
aml

Acute Myelogenous Leukemia survival data
Surv-methods

Methods for Surv objects
aareg

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

Analysis of Deviance for a Cox model.
Surv

Create a Survival Object
basehaz

Alias for the survfit function
aeqSurv

Adjudicate near ties in a Surv object
Surv2data

Convert data from timecourse to (time1,time2) style
agreg.fit

Cox model fitting functions
clogit

Conditional logistic regression
bladder

Bladder Cancer Recurrences
concordance

Compute the concordance statistic for data or a model
concordancefit

Compute the concordance
colon

Chemotherapy for Stage B/C colon cancer
coxph

Fit Proportional Hazards Regression Model
frailty

Random effects terms
coxph.control

Ancillary arguments for controlling coxph fits
heart

Stanford Heart Transplant data
coxsurv.fit

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

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

Compute a quadratic form
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
cipoisson

Confidence limits for the Poisson
myeloid

Acute myeloid leukemia
cluster

Identify clusters.
nafld

Non-alcohol fatty liver disease
print.summary.coxph

Print method for summary.coxph objects
cgd0

Chronic Granulotomous Disease data
print.summary.survexp

Print Survexp Summary
model.matrix.coxph

Model.matrix method for coxph models
coxph.object

Proportional Hazards Regression Object
cgd

Chronic Granulotamous Disease data
coxph.detail

Details of a Cox Model Fit
is.ratetable

Verify that an object is of class ratetable.
flchain

Assay of serum free light chain for 7874 subjects.
levels.Surv

Return the states of a multi-state Surv object
finegray

Create data for a Fine-Gray model
lung

NCCTG Lung Cancer Data
pspline

Smoothing splines using a pspline basis
dsurvreg

Distributions available in survreg.
diabetic

Ddiabetic retinopathy
lines.survfit

Add Lines or Points to a Survival Plot
logLik.coxph

logLik method for a Cox model
plot.aareg

Plot an aareg object.
mgus

Monoclonal gammopathy data
plot.cox.zph

Graphical Test of Proportional Hazards
mgus2

Monoclonal gammopathy data
print.summary.survfit

Print Survfit Summary
model.frame.coxph

Model.frame method for coxph objects
logan

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

Rat data from Gail et al.
kidney

Kidney catheter data
print.survfit

Print a Short Summary of a Survival Curve
neardate

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

Predictions for a Cox model
pyears

Person Years
survConcordance

Compute a concordance measure.
reliability

Reliability data sets
stanford2

More Stanford Heart Transplant data
summary.aareg

Summarize an aareg fit
statefig

Draw a state space figure.
plot.survfit

Plot method for survfit objects
strata

Identify Stratification Variables
residuals.survreg

Compute Residuals for `survreg' Objects
residuals.coxph

Calculate Residuals for a `coxph' Fit
summary.coxph

Summary method for Cox models
summary.survexp

Summary function for a survexp object
nwtco

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

Summary function for pyears objecs
survfit.object

Survival Curve Object
survfit

Create survival curves
survfit0

Convert the format of a survfit object.
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
pbcseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
survfit.coxph

Compute a Survival Curve from a Cox model
ovarian

Ovarian Cancer Survival Data
quantile.survfit

Quantiles from a survfit object
survreg

Regression for a Parametric Survival Model
predict.survreg

Predicted Values for a `survreg' Object
ratetable

Rate table structure
survobrien

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

Ridge regression
survSplit

Split a survival data set at specified times
survfitcoxph.fit

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

Data from a soldering experiment
survcheck

Checks of a survival data set
summary.survfit

Summary of a Survival Curve
tcut

Factors for person-year calculations
print.aareg

Print an aareg object
survdiff

Test Survival Curve Differences
survival-internal

Internal survival functions
ratetableDate

Convert date objects to ratetable form
tobin

Tobin's Tobit data
transplant

Liver transplant waiting list
tmerge

Time based merge for survival data
yates

Population prediction
yates_setup

Method for adding new models to the yates function.
udca

Data from a trial of usrodeoxycholic acid
survfit.formula

Compute a Survival Curve for Censored Data
untangle.specials

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

Compute Expected Survival
rhDNase

rhDNASE data set
uspop2

Projected US Population
retinopathy

Diabetic Retinopathy
survreg.distributions

Parametric Survival Distributions
survreg.object

Parametric Survival Model Object
survfit.matrix

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

Package options for survreg and coxph
rats

Rat treatment data from Mantel et al
survregDtest

Verify a survreg distribution
vcov.coxph

Variance-covariance matrix
survexp.fit

Compute Expected Survival
survexp.object

Expected Survival Curve Object
ratetables

Census Data Sets for the Expected Survival and Person Years Functions
xtfrm.Surv

Sorting order for Surv objects
veteran

Veterans' Administration Lung Cancer study