Learn R Programming

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

survival (version 2.43-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

116,731

Version

2.43-3

License

LGPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Terry Therneau

Last Published

November 26th, 2018

Functions in survival (2.43-3)

anova.coxph

Analysis of Deviance for a Cox model.
aml

Acute Myelogenous Leukemia survival data
aareg

Aalen's additive regression model for censored data
basehaz

Alias for the survfit function
aeqSurv

Adjudicate near ties in a Surv object
attrassign

Create new-style "assign" attribute
cch

Fits proportional hazards regression model to case-cohort data
cgd0

Chronic Granulotomous Disease data
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
bladder

Bladder Cancer Recurrences
clogit

Conditional logistic regression
coxph

Fit Proportional Hazards Regression Model
coxph.control

Ancillary arguments for controlling coxph fits
cgd

Chronic Granulotamous Disease data
cipoisson

Confidence limits for the Poisson
coxph.object

Proportional Hazards Regression Object
coxph.detail

Details of a Cox Model Fit
frailty

Random effects terms
logan

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

Identify clusters.
genfan

Generator fans
mgus

Monoclonal gammopathy data
lung

NCCTG Lung Cancer Data
mgus2

Monoclonal gammopathy data
plot.aareg

Plot an aareg object.
plot.cox.zph

Graphical Test of Proportional Hazards
plot.survfit

Plot method for survfit objects
finegray

Create data for a Fine-Gray model
flchain

Assay of serum free light chain for 7874 subjects.
rhDNase

rhDNASE data set
predict.coxph

Predictions for a Cox model
ridge

Ridge regression
coxph.wtest

Compute a quadratic form
summary.pyears

Summary function for pyears objecs
kidney

Kidney catheter data
heart

Stanford Heart Transplant data
summary.survexp

Summary function for a survexp object
is.ratetable

Verify that an object is of class ratetable.
nwtco

Data from the National Wilm's Tumor Study
ovarian

Ovarian Cancer Survival Data
myeloid

Acute myeloid leukemia
survSplit

Split a survival data set at specified times
survdiff

Test Survival Curve Differences
survreg

Regression for a Parametric Survival Model
predict.survreg

Predicted Values for a `survreg' Object
survreg.control

Package options for survreg and coxph
neardate

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

Variance-covariance matrix
print.aareg

Print an aareg object
ratetableDate

Convert date objects to ratetable form
levels.Surv

Return the states of a multi-state Surv object
solder

Data from a soldering experiment
rats

Rat treatment data from Mantel et al
model.frame.coxph

Model.frame method for coxph objects
veteran

Veterans' Administration Lung Cancer study
model.matrix.coxph

Model.matrix method for coxph models
pspline

Smoothing splines using a pspline basis
print.summary.coxph

Print method for summary.coxph objects
pyears

Person Years
print.summary.survexp

Print Survexp Summary
quantile.survfit

Quantiles from a survfit object
residuals.survreg

Compute Residuals for `survreg' Objects
Surv

Create a Survival Object
ratetable

Rate table structure
retinopathy

Diabetic Retinopathy
stanford2

More Stanford Heart Transplant data
statefig

Draw a state space figure.
survfit.formula

Compute a Survival Curve for Censored Data
summary.survfit

Summary of a Survival Curve
strata

Identify Stratification Variables
Surv-methods

Methods for Surv objects
survConcordance

Compute a concordance measure.
colon

Chemotherapy for Stage B/C colon cancer
survfit.matrix

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

Compute the concordance statistic for data or a model
survexp

Compute Expected Survival
diabetic

Ddiabetic retinopathy
survexp.fit

Compute Expected Survival
survexp.object

Expected Survival Curve Object
survreg.distributions

Parametric Survival Distributions
dsurvreg

Distributions available in survreg.
survival-internal

Internal survival functions
ratetables

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

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

Liver transplant waiting list
survfit.object

Survival Curve Object
survreg.object

Parametric Survival Model Object
survfitcoxph.fit

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

Add Lines or Points to a Survival Plot
xtfrm.Surv

Sorting order for Surv objects
udca

Data from a trial of usrodeoxycholic acid
untangle.specials

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

Projected US Population
yates

Population prediction
yates_setup

Method for adding new models to the yates function.
logLik.coxph

logLik method for a Cox model
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
print.survfit

Print a Short Summary of a Survival Curve
print.summary.survfit

Print Survfit Summary
pbcseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
rats2

Rat data from Gail et al.
residuals.coxph

Calculate Residuals for a `coxph' Fit
summary.aareg

Summarize an aareg fit
summary.coxph

Summary method for Cox models
survfit

Create survival curves
survfit.coxph

Compute a Survival Curve from a Cox model
survregDtest

Verify a survreg distribution
tcut

Factors for person-year calculations
tmerge

Time based merge for survival data
tobin

Tobin's Tobit data
agreg.fit

Cox model fitting functions