Learn R Programming

survival (version 3.6-4)

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.6-4

License

LGPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

April 24th, 2024

Functions in survival (3.6-4)

cipoisson

Confidence limits for the Poisson
cgd0

Chronic Granulotomous Disease data
coxph.wtest

Compute a quadratic form
cluster

Identify clusters.
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
cch

Fits proportional hazards regression model to case-cohort data
coxph.detail

Details of a Cox Model Fit
concordance

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

Proportional Hazards Regression Object
concordancefit

Compute the concordance
coxph.control

Ancillary arguments for controlling coxph fits
colon

Chemotherapy for Stage B/C colon cancer
coxph

Fit Proportional Hazards Regression Model
coxsurv.fit

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

Distributions available in survreg.
diabetic

Ddiabetic retinopathy
coxphms.object

Multi-state Proportional Hazards Regression Object
flchain

Assay of serum free light chain for 7874 subjects.
finegray

Create data for a Fine-Gray model
frailty

Random effects terms
gbsg

Breast cancer data sets used in Royston and Altman (2013)
is.ratetable

Verify that an object is of class ratetable.
levels.Surv

Return the states of a multi-state Surv object
lines.survfit

Add Lines or Points to a Survival Plot
kidney

Kidney catheter data
hoel

Mouse cancer data
heart

Stanford Heart Transplant data
print.summary.survfit

Print Survfit Summary
logan

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

Data from the National Wilm's Tumor Study
lung

NCCTG Lung Cancer Data
plot.aareg

Plot an aareg object.
model.frame.coxph

Model.frame method for coxph objects
logLik.coxph

logLik method for a Cox model
mgus

Monoclonal gammopathy data
nafld

Non-alcohol fatty liver disease
plot.cox.zph

Graphical Test of Proportional Hazards
myeloma

Survival times of patients with multiple myeloma
mgus2

Monoclonal gammopathy data
pbcseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
pbc

Mayo Clinic Primary Biliary Cholangitis Data
print.aareg

Print an aareg object
print.survfit

Print a Short Summary of a Survival Curve
pseudo

Pseudo values for survival.
print.summary.coxph

Print method for summary.coxph objects
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
predict.survreg

Predicted Values for a `survreg' Object
model.matrix.coxph

Model.matrix method for coxph models
nsk

Natural splines with knot heights as the basis.
ovarian

Ovarian Cancer Survival Data
rats

Rat treatment data from Mantel et al
plot.survfit

Plot method for survfit objects
reliability

Reliability data sets
solder

Data from a soldering experiment
myeloid

Acute myeloid leukemia
predict.coxph

Predictions for a Cox model
stanford2

More Stanford Heart Transplant data
rats2

Rat data from Gail et al.
residuals.survfit

IJ residuals from a survfit object.
rttright

Compute redistribute-to-the-right weights
royston

Compute Royston's D for a Cox model
quantile.survfit

Quantiles from a survfit object
residuals.survreg

Compute Residuals for `survreg' Objects
pyears

Person Years
summary.aareg

Summarize an aareg fit
retinopathy

Diabetic Retinopathy
pspline

Smoothing splines using a pspline basis
rhDNase

rhDNASE data set
survcheck

Checks of a survival data set
survSplit

Split a survival data set at specified times
summary.survexp

Summary function for a survexp object
summary.coxph

Summary method for Cox models
ratetableDate

Convert date objects to ratetable form
survdiff

Test Survival Curve Differences
summary.pyears

Summary function for pyears objecs
print.summary.survexp

Print Survexp Summary
ratetable

Allow ratetable() terms in a model
strata

Identify Stratification Variables
summary.survfit

Summary of a Survival Curve
statefig

Draw a state space figure.
survexp.fit

Compute Expected Survival
survexp.object

Expected Survival Curve Object
ridge

Ridge regression
survexp

Compute Expected Survival
survfit.matrix

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

Breast cancer data set used in Royston and Altman (2013)
survregDtest

Verify a survreg distribution
survival-deprecated

Deprecated functions in package survival
survfit.coxph

Compute a Survival Curve from a Cox model
survfit0

Convert the format of a survfit object.
survival-internal

Internal survival functions
ratetables

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

Projected US Population
survobrien

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

Regression for a Parametric Survival Model
survfit

Create survival curves
survfitcoxph.fit

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

Veterans' Administration Lung Cancer study
survfit.formula

Compute a Survival Curve for Censored Data
tobin

Tobin's Tobit data
tcut

Factors for person-year calculations
survreg.control

Package options for survreg and coxph
vcov.coxph

Variance-covariance matrix
survreg.object

Parametric Survival Model Object
xtfrm.Surv

Sorting order for Surv objects
udca

Data from a trial of usrodeoxycholic acid
survcondense

Shorten a (time1, time2) survival dataset
tmerge

Time based merge for survival data
survreg.distributions

Parametric Survival Distributions
yates

Population prediction
untangle.specials

Help Process the `specials' Argument of the `terms' Function.
survfit.object

Survival Curve Object
yates_setup

Method for adding new models to the yates function.
transplant

Liver transplant waiting list
aeqSurv

Adjudicate near ties in a Surv object
agreg.fit

Cox model fitting functions
Surv

Create a Survival Object
Surv2

Create a survival object
aml

Acute Myelogenous Leukemia survival data
Surv-methods

Methods for Surv objects
aareg

Aalen's additive regression model for censored data
anova.coxph

Analysis of Deviance for a Cox model.
blogit

Bounded link functions
aggregate.survfit

Average survival curves
basehaz

Alias for the survfit function
brier

Compute the Brier score for a Cox model
attrassign

Create new-style "assign" attribute
clogit

Conditional logistic regression
bladder

Bladder Cancer Recurrences
cgd

Chronic Granulotamous Disease data
Surv2data

Convert data from timecourse to (time1,time2) style