Learn R Programming

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

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

License

LGPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Terry Therneau

Last Published

October 29th, 2018

Functions in survival (2.43-1)

aareg

Aalen's additive regression model for censored data
coxph

Fit Proportional Hazards Regression Model
coxph.control

Ancillary arguments for controlling coxph fits
basehaz

Alias for the survfit function
coxph.detail

Details of a Cox Model Fit
logan

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

NCCTG Lung Cancer Data
clogit

Conditional logistic regression
bladder

Bladder Cancer Recurrences
lines.survfit

Add Lines or Points to a Survival Plot
Surv

Create a Survival Object
logLik.coxph

logLik method for a Cox model
myeloid

Acute myeloid leukemia
cluster

Identify clusters.
Surv-methods

Methods for Surv objects
dsurvreg

Distributions available in survreg.
diabetic

Ddiabetic retinopathy
colon

Chemotherapy for Stage B/C colon cancer
levels.Surv

Return the states of a multi-state Surv object
pbcseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
kidney

Kidney catheter data
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
neardate

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

Analysis of Deviance for a Cox model.
attrassign

Create new-style "assign" attribute
coxph.object

Proportional Hazards Regression Object
concordance

Compute the concordance statistic for data or a model
coxph.wtest

Compute a quadratic form
print.summary.coxph

Print method for summary.coxph objects
retinopathy

Diabetic Retinopathy
residuals.survreg

Compute Residuals for `survreg' Objects
plot.survfit

Plot method for survfit objects
mgus

Monoclonal gammopathy data
solder

Data from a soldering experiment
nwtco

Data from the National Wilm's Tumor Study
stanford2

More Stanford Heart Transplant data
predict.coxph

Predictions for a Cox model
print.summary.survexp

Print Survexp Summary
mgus2

Monoclonal gammopathy data
model.matrix.coxph

Model.matrix method for coxph models
print.summary.survfit

Print Survfit Summary
model.frame.coxph

Model.frame method for coxph objects
survexp.object

Expected Survival Curve Object
cch

Fits proportional hazards regression model to case-cohort data
cgd

Chronic Granulotamous Disease data
ratetables

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

Create data for a Fine-Gray model
ovarian

Ovarian Cancer Survival Data
survreg.distributions

Parametric Survival Distributions
rats2

Rat data from Gail et al.
residuals.coxph

Calculate Residuals for a `coxph' Fit
survreg.object

Parametric Survival Model Object
ratetableDate

Convert date objects to ratetable form
summary.survfit

Summary of a Survival Curve
survConcordance

Compute a concordance measure.
survfit.formula

Compute a Survival Curve for Censored Data
survfit.matrix

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

Assay of serum free light chain for 7874 subjects.
untangle.specials

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

Stanford Heart Transplant data
is.ratetable

Verify that an object is of class ratetable.
rats

Rat treatment data from Mantel et al
print.survfit

Print a Short Summary of a Survival Curve
survSplit

Split a survival data set at specified times
pspline

Smoothing splines using a pspline basis
pyears

Person Years
uspop2

Projected US Population
survregDtest

Verify a survreg distribution
statefig

Draw a state space figure.
strata

Identify Stratification Variables
survdiff

Test Survival Curve Differences
survexp

Compute Expected Survival
tcut

Factors for person-year calculations
agreg.fit

Cox model fitting functions
vcov.coxph

Variance-covariance matrix
veteran

Veterans' Administration Lung Cancer study
aml

Acute Myelogenous Leukemia survival data
survexp.fit

Compute Expected Survival
survreg

Regression for a Parametric Survival Model
rhDNase

rhDNASE data set
cgd0

Chronic Granulotomous Disease data
survfit.object

Survival Curve Object
survreg.control

Package options for survreg and coxph
survfitcoxph.fit

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

Confidence limits for the Poisson
summary.aareg

Summarize an aareg fit
ridge

Ridge regression
frailty

Random effects terms
tmerge

Time based merge for survival data
genfan

Generator fans
plot.aareg

Plot an aareg object.
tobin

Tobin's Tobit data
plot.cox.zph

Graphical Test of Proportional Hazards
yates_setup

Method for adding new models to the yates function.
quantile.survfit

Quantiles from a survfit object
print.aareg

Print an aareg object
predict.survreg

Predicted Values for a `survreg' Object
summary.coxph

Summary method for Cox models
transplant

Liver transplant waiting list
udca

Data from a trial of usrodeoxycholic acid
ratetable

Rate table structure
summary.pyears

Summary function for pyears objecs
summary.survexp

Summary function for a survexp object
survfit

Create survival curves
survival-internal

Internal survival functions
survfit.coxph

Compute a Survival Curve from a Cox model
survobrien

O'Brien's Test for Association of a Single Variable with Survival
xtfrm.Surv

Sorting order for Surv objects
yates

Population prediction
aeqSurv

Adjudicate near ties in a Surv object
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression