Learn R Programming

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

survival (version 2.42-6)

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

73,883

Version

2.42-6

License

LGPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Terry Therneau

Last Published

July 13th, 2018

Functions in survival (2.42-6)

agreg.fit

Cox model fitting functions
basehaz

Alias for the survfit function
cluster

Identify clusters.
bladder

Bladder Cancer Recurrences
cgd0

Chronic Granulotomous Disease data
attrassign

Create new-style "assign" attribute
anova.coxph

Analysis of Deviance for a Cox model.
cipoisson

Confidence limits for the Poisson
cch

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

Compute a quadratic form
heart

Stanford Heart Transplant data
cgd

Chronic Granulotamous Disease data
finegray

Create data for a Fine-Gray model
dsurvreg

Distributions available in survreg.
flchain

Assay of serum free light chain for 7874 subjects.
kidney

Kidney catheter data
model.frame.coxph

Model.frame method for coxph objects
Surv

Create a Survival Object
levels.Surv

Return the states of a multi-state Surv object
Surv-methods

Methods for Surv objects
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
coxph.detail

Details of a Cox Model Fit
plot.survfit

Plot method for survfit objects
is.ratetable

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

Model.matrix method for coxph models
pbcseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
mgus2

Monoclonal gammopathy data
mgus

Monoclonal gammopathy data
predict.coxph

Predictions for a Cox model
print.summary.coxph

Print method for summary.coxph objects
aareg

Aalen's additive regression model for censored data
ridge

Ridge regression
pspline

Smoothing splines using a pspline basis
rhDNase

rhDNASE data set
colon

Chemotherapy for Stage B/C colon cancer
coxph.object

Proportional Hazards Regression Object
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
frailty

Random effects terms
genfan

Generator fans
summary.aareg

Summarize an aareg fit
summary.coxph

Summary method for Cox models
survfit

Create survival curves
logan

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

Adjudicate near ties in a Surv object
residuals.survreg

Compute Residuals for `survreg' Objects
retinopathy

Diabetic Retinopathy
print.summary.survexp

Print Survexp Summary
survfit.coxph

Compute a Survival Curve from a Cox model
survdiff

Test Survival Curve Differences
survSplit

Split a survival data set at specified times
coxph.control

Ancillary arguments for controlling coxph fits
survival-internal

Internal survival functions
lung

NCCTG Lung Cancer Data
pyears

Person Years
plot.aareg

Plot an aareg object.
ratetableDate

Convert date objects to ratetable form
lines.survfit

Add Lines or Points to a Survival Plot
coxph

Fit Proportional Hazards Regression Model
plot.cox.zph

Graphical Test of Proportional Hazards
quantile.survfit

Quantiles from a survfit object
rats

Rat treatment data from Mantel et al
survfit.matrix

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

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

Print an aareg object
predict.survreg

Predicted Values for a `survreg' Object
survfit.formula

Compute a Survival Curve for Censored Data
myeloid

Acute myeloid leukemia
uspop2

Projected US Population
survexp.object

Expected Survival Curve Object
summary.pyears

Summary function for pyears objecs
vcov.coxph

Variance-covariance matrix
logLik.coxph

logLik method for a Cox model
summary.survexp

Summary function for a survexp object
ratetables

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

Rate table structure
summary.survfit

Summary of a Survival Curve
nwtco

Data from the National Wilm's Tumor Study
solder

Data from a soldering experiment
stanford2

More Stanford Heart Transplant data
survreg.control

Package options for survreg and coxph
ovarian

Ovarian Cancer Survival Data
survConcordance

Compute a concordance measure.
survreg

Regression for a Parametric Survival Model
survreg.distributions

Parametric Survival Distributions
veteran

Veterans' Administration Lung Cancer study
print.summary.survfit

Print Survfit Summary
statefig

Draw a state space figure.
print.survfit

Print a Short Summary of a Survival Curve
rats2

Rat data from Gail et al.
survreg.object

Parametric Survival Model Object
strata

Identify Stratification Variables
survfit.object

Survival Curve Object
residuals.coxph

Calculate Residuals for a `coxph' Fit
survexp

Compute Expected Survival
tmerge

Time based merge for survival data
survexp.fit

Compute Expected Survival
survfitcoxph.fit

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

Verify a survreg distribution
tobin

Tobin's Tobit data
xtfrm.Surv

Sorting order for Surv objects
survobrien

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

Population prediction
yates_setup

Method for adding new models to the yates function.
tcut

Factors for person-year calculations
transplant

Liver transplant waiting list
untangle.specials

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

Acute Myelogenous Leukemia survival data
clogit

Conditional logistic regression