Learn R Programming

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

survival (version 2.44-1.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.44-1.1

License

LGPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Terry Therneau

Last Published

April 1st, 2019

Functions in survival (2.44-1.1)

cgd0

Chronic Granulotomous Disease data
Surv

Create a Survival Object
Surv-methods

Methods for Surv objects
mgus

Monoclonal gammopathy data
coxph.wtest

Compute a quadratic form
anova.coxph

Analysis of Deviance for a Cox model.
diabetic

Ddiabetic retinopathy
attrassign

Create new-style "assign" attribute
logan

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

Chemotherapy for Stage B/C colon cancer
aareg

Aalen's additive regression model for censored data
basehaz

Alias for the survfit function
mgus2

Monoclonal gammopathy data
model.frame.coxph

Model.frame method for coxph objects
model.matrix.coxph

Model.matrix method for coxph models
agreg.fit

Cox model fitting functions
aeqSurv

Adjudicate near ties in a Surv object
aml

Acute Myelogenous Leukemia survival data
bladder

Bladder Cancer Recurrences
ratetableDate

Convert date objects to ratetable form
concordancefit

Compute the concordance
lung

NCCTG Lung Cancer Data
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
concordance

Compute the concordance statistic for data or a model
clogit

Conditional logistic regression
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
dsurvreg

Distributions available in survreg.
cluster

Identify clusters.
coxph.detail

Details of a Cox Model Fit
coxph.object

Proportional Hazards Regression Object
rats

Rat treatment data from Mantel et al
kidney

Kidney catheter data
flchain

Assay of serum free light chain for 7874 subjects.
summary.survexp

Summary function for a survexp object
cch

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

Summary of a Survival Curve
pbcseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
cgd

Chronic Granulotamous Disease data
print.summary.survfit

Print Survfit Summary
levels.Surv

Return the states of a multi-state Surv object
finegray

Create data for a Fine-Gray model
plot.aareg

Plot an aareg object.
frailty

Random effects terms
heart

Stanford Heart Transplant data
plot.cox.zph

Graphical Test of Proportional Hazards
lines.survfit

Add Lines or Points to a Survival Plot
survdiff

Test Survival Curve Differences
logLik.coxph

logLik method for a Cox model
coxph

Fit Proportional Hazards Regression Model
pspline

Smoothing splines using a pspline basis
pyears

Person Years
coxph.control

Ancillary arguments for controlling coxph fits
is.ratetable

Verify that an object is of class ratetable.
myeloid

Acute myeloid leukemia
neardate

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

Calculate Residuals for a `coxph' Fit
residuals.survreg

Compute Residuals for `survreg' Objects
nwtco

Data from the National Wilm's Tumor Study
print.survfit

Print a Short Summary of a Survival Curve
retinopathy

Diabetic Retinopathy
strata

Identify Stratification Variables
survexp

Compute Expected Survival
rhDNase

rhDNASE data set
predict.survreg

Predicted Values for a `survreg' Object
summary.coxph

Summary method for Cox models
survreg.control

Package options for survreg and coxph
survreg.distributions

Parametric Survival Distributions
veteran

Veterans' Administration Lung Cancer study
plot.survfit

Plot method for survfit objects
summary.pyears

Summary function for pyears objecs
survConcordance

Compute a concordance measure.
print.aareg

Print an aareg object
stanford2

More Stanford Heart Transplant data
ovarian

Ovarian Cancer Survival Data
xtfrm.Surv

Sorting order for Surv objects
predict.coxph

Predictions for a Cox model
statefig

Draw a state space figure.
print.summary.coxph

Print method for summary.coxph objects
survSplit

Split a survival data set at specified times
print.summary.survexp

Print Survexp Summary
quantile.survfit

Quantiles from a survfit object
summary.aareg

Summarize an aareg fit
ratetable

Rate table structure
survfit.coxph

Compute a Survival Curve from a Cox model
rats2

Rat data from Gail et al.
reliability

Reliability data sets
survexp.fit

Compute Expected Survival
survfitcoxph.fit

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

Expected Survival Curve Object
survobrien

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

Ridge regression
survfit.formula

Compute a Survival Curve for Censored Data
survreg

Regression for a Parametric Survival Model
survival-internal

Internal survival functions
survreg.object

Parametric Survival Model Object
survregDtest

Verify a survreg distribution
survfit.matrix

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

Projected US Population
udca

Data from a trial of usrodeoxycholic acid
solder

Data from a soldering experiment
tcut

Factors for person-year calculations
ratetables

Census Data Sets for the Expected Survival and Person Years Functions
survfit.object

Survival Curve Object
tmerge

Time based merge for survival data
vcov.coxph

Variance-covariance matrix
yates

Population prediction
yates_setup

Method for adding new models to the yates function.
survfit

Create survival curves
untangle.specials

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

Tobin's Tobit data
transplant

Liver transplant waiting list
cipoisson

Confidence limits for the Poisson