Learn R Programming

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

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

98,782

Version

2.38-1

License

LGPL (>= 2)

Maintainer

Terry Therneau

Last Published

February 24th, 2015

Functions in survival (2.38-1)

coxph

Fit Proportional Hazards Regression Model
heart

Stanford Heart Transplant data
bladder

Bladder Cancer Recurrences
strata

Identify Stratification Variables
aareg

Aalen's additive regression model for censored data
summary.aareg

Summarize an aareg fit
colon

Chemotherapy for Stage B/C colon cancer
lines.survfit

Add Lines or Points to a Survival Plot
survregDtest

Verify a survreg distribution
model.frame.coxph

Model.frame method for coxph objects
flchain

Assay of serum free light chain for 7874 subjects.
cch

Fits proportional hazards regression model to case-cohort data
summary.survexp

Summary function for a survexp object
mgus

Monoclonal gammapothy data
anova.coxph

Analysis of Deviance for a Cox model.
attrassign

Create new-style "assign" attribute
clogit

Conditional logistic regression
ovarian

Ovarian Cancer Survival Data
ratetable

Ratetable reference in formula
survreg

Regression for a Parametric Survival Model
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
pbcseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
mgus2

Monoclonal gammapothy data
Surv

Create a Survival Object
ratetableDate

Convert date objects to ratetable form
survfit.formula

Compute a Survival Curve for Censored Data
summary.coxph

Summary method for Cox models
survfitcoxph.fit

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

Data from the 1972-78 GSS data used by Logan
agreg.fit

Cox model fitting functions
survfit.coxph

Compute a Survival Curve from a Cox model
pspline

Smoothing splines using a pspline basis
cgd0

Chronic Granulotomous Disease data
print.aareg

Print an aareg object
neardate

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

Test the Proportional Hazards Assumption of a Cox Regression
predict.coxph

Predictions for a Cox model
survreg.distributions

Parametric Survival Distributions
aml

Acute Myelogenous Leukemia survival data
tmerge

Time based merge for survival data
veteran

Veterans' Administration Lung Cancer study
quantile.survfit

Quantiles from a survfit object
rats2

Rat data from Gail et al.
residuals.coxph

Calculate Residuals for a `coxph' Fit
print.summary.survexp

Print Survexp Summary
pyears

Person Years
cgd

Chronic Granulotomous Disease data
survexp

Compute Expected Survival
transplant

Liver transplant waiting list
survreg.control

Package options for survreg and coxph
predict.survreg

Predicted Values for a `survreg' Object
residuals.survreg

Compute Residuals for `survreg' Objects
ratetables

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

Print method for summary.coxph objects
survfit.object

Survival Curve Object
model.matrix.coxph

Model.matrix method for coxph models
print.survfit

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

Print Survfit Summary
survfit

Create survival curves
summary.survfit

Summary of a Survival Curve
nwtco

Data from the National Wilm's Tumor Study
coxph.detail

Details of a Cox Model Fit
survobrien

O'Brien's Test for Association of a Single Variable with Survival
survexp.fit

Compute Expected Survival
survreg.object

Parametric Survival Model Object
tcut

Factors for person-year calculations
basehaz

Alias for the survfit function
cluster

Identify clusters.
rats

Rat treatment data from Mantel et al
is.ratetable

Verify that an object is of class ratetable.
lung

NCCTG Lung Cancer Data
stanford2

More Stanford Heart Transplant data
ridge

Ridge regression
survival-internal

Internal survival functions
plot.survfit

Plot method for survfit objects
survSplit

Split a survival data set at specified times
tobin

Tobin's Tobit data
uspop2

Projected US Population
survConcordance

Compute a concordance measure.
kidney

Kidney catheter data
coxph.wtest

Compute a quadratic form
plot.aareg

Plot an aareg object.
frailty

Random effects terms
untangle.specials

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

Test Survival Curve Differences
coxph.control

Ancillary arguments for controling coxph fits
dsurvreg

Distributions available in survreg.
coxph.object

Proportional Hazards Regression Object
plot.cox.zph

Graphical Test of Proportional Hazards