Learn R Programming

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

survival (version 3.1-8)

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

132,377

Version

3.1-8

License

LGPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

December 3rd, 2019

Functions in survival (3.1-8)

aml

Acute Myelogenous Leukemia survival data
attrassign

Create new-style "assign" attribute
Surv-methods

Methods for Surv objects
aeqSurv

Adjudicate near ties in a Surv object
basehaz

Alias for the survfit function
anova.coxph

Analysis of Deviance for a Cox model.
Surv

Create a Survival Object
aareg

Aalen's additive regression model for censored data
agreg.fit

Cox model fitting functions
bladder

Bladder Cancer Recurrences
concordancefit

Compute the concordance
colon

Chemotherapy for Stage B/C colon cancer
concordance

Compute the concordance statistic for data or a model
clogit

Conditional logistic regression
cluster

Identify clusters.
cipoisson

Confidence limits for the Poisson
cgd0

Chronic Granulotomous Disease data
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
dsurvreg

Distributions available in survreg.
cgd

Chronic Granulotamous Disease data
coxph.wtest

Compute a quadratic form
cch

Fits proportional hazards regression model to case-cohort data
diabetic

Ddiabetic retinopathy
coxph.detail

Details of a Cox Model Fit
frailty

Random effects terms
heart

Stanford Heart Transplant data
mgus

Monoclonal gammopathy data
coxph.control

Ancillary arguments for controlling coxph fits
lung

NCCTG Lung Cancer Data
levels.Surv

Return the states of a multi-state Surv object
coxph

Fit Proportional Hazards Regression Model
coxph.object

Proportional Hazards Regression Object
lines.survfit

Add Lines or Points to a Survival Plot
finegray

Create data for a Fine-Gray model
coxsurv.fit

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

Assay of serum free light chain for 7874 subjects.
logan

Data from the 1972-78 GSS data used by Logan
logLik.coxph

logLik method for a Cox model
is.ratetable

Verify that an object is of class ratetable.
kidney

Kidney catheter data
ovarian

Ovarian Cancer Survival Data
nafld

Non-alcohol fatty liver disease
mgus2

Monoclonal gammopathy data
neardate

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

Mayo Clinic Primary Biliary Cirrhosis Data
nwtco

Data from the National Wilm's Tumor Study
myeloid

Acute myeloid leukemia
model.matrix.coxph

Model.matrix method for coxph models
pbcseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
model.frame.coxph

Model.frame method for coxph objects
print.survfit

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

Print method for summary.coxph objects
plot.cox.zph

Graphical Test of Proportional Hazards
print.summary.survfit

Print Survfit Summary
print.summary.survexp

Print Survexp Summary
plot.aareg

Plot an aareg object.
predict.survreg

Predicted Values for a `survreg' Object
print.aareg

Print an aareg object
plot.survfit

Plot method for survfit objects
quantile.survfit

Quantiles from a survfit object
predict.coxph

Predictions for a Cox model
pspline

Smoothing splines using a pspline basis
pyears

Person Years
residuals.survreg

Compute Residuals for `survreg' Objects
residuals.coxph

Calculate Residuals for a `coxph' Fit
rats

Rat treatment data from Mantel et al
summary.coxph

Summary method for Cox models
ratetable

Rate table structure
stanford2

More Stanford Heart Transplant data
ratetableDate

Convert date objects to ratetable form
summary.aareg

Summarize an aareg fit
strata

Identify Stratification Variables
rats2

Rat data from Gail et al.
ridge

Ridge regression
statefig

Draw a state space figure.
survexp

Compute Expected Survival
survfit

Create survival curves
survobrien

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

Regression for a Parametric Survival Model
solder

Data from a soldering experiment
survSplit

Split a survival data set at specified times
survexp.object

Expected Survival Curve Object
ratetables

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

Compute a concordance measure.
reliability

Reliability data sets
uspop2

Projected US Population
survregDtest

Verify a survreg distribution
summary.pyears

Summary function for pyears objecs
survreg.object

Parametric Survival Model Object
survexp.fit

Compute Expected Survival
vcov.coxph

Variance-covariance matrix
tobin

Tobin's Tobit data
survfit.coxph

Compute a Survival Curve from a Cox model
retinopathy

Diabetic Retinopathy
transplant

Liver transplant waiting list
survival-internal

Internal survival functions
survreg.control

Package options for survreg and coxph
survfitcoxph.fit

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

Parametric Survival Distributions
rhDNase

rhDNASE data set
summary.survexp

Summary function for a survexp object
survfit.formula

Compute a Survival Curve for Censored Data
summary.survfit

Summary of a Survival Curve
survfit.matrix

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

Population prediction
survcheck

Checks of a survival data set
survdiff

Test Survival Curve Differences
survfit0

Convert the format of a survfit object.
untangle.specials

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

Data from a trial of usrodeoxycholic acid
survfit.object

Survival Curve Object
yates_setup

Method for adding new models to the yates function.
tcut

Factors for person-year calculations
tmerge

Time based merge for survival data
xtfrm.Surv

Sorting order for Surv objects
veteran

Veterans' Administration Lung Cancer study