Learn R Programming

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

survival (version 2.42-3)

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

126,015

Version

2.42-3

License

LGPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

April 16th, 2018

Functions in survival (2.42-3)

aml

Acute Myelogenous Leukemia survival data
cipoisson

Confidence limits for the Poisson
coxph.object

Proportional Hazards Regression Object
coxph.wtest

Compute a quadratic form
clogit

Conditional logistic regression
model.frame.coxph

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

Model.matrix method for coxph models
nwtco

Data from the National Wilm's Tumor Study
ovarian

Ovarian Cancer Survival Data
print.summary.coxph

Print method for summary.coxph objects
aeqSurv

Adjudicate near ties in a Surv object
agreg.fit

Cox model fitting functions
print.summary.survexp

Print Survexp Summary
cgd

Chronic Granulotomous Disease data
cgd0

Chronic Granulotomous Disease data
solder

Data from a soldering experiment
kidney

Kidney catheter data
is.ratetable

Verify that an object is of class ratetable.
myeloid

Acute myeloid leukemia
stanford2

More Stanford Heart Transplant data
neardate

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

Plot method for survfit objects
bladder

Bladder Cancer Recurrences
cch

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

Summarize an aareg fit
summary.coxph

Summary method for Cox models
predict.coxph

Predictions for a Cox model
cluster

Identify clusters.
survfit.object

Survival Curve Object
survfitcoxph.fit

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

Chemotherapy for Stage B/C colon cancer
attrassign

Create new-style "assign" attribute
survreg.distributions

Parametric Survival Distributions
Surv

Create a Survival Object
quantile.survfit

Quantiles from a survfit object
dsurvreg

Distributions available in survreg.
aareg

Aalen's additive regression model for censored data
survreg.object

Parametric Survival Model Object
uspop2

Projected US Population
vcov.coxph

Variance-covariance matrix
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
ratetable

Rate table structure
coxph

Fit Proportional Hazards Regression Model
retinopathy

Diabetic Retinopathy
residuals.survreg

Compute Residuals for `survreg' Objects
basehaz

Alias for the survfit function
frailty

Random effects terms
finegray

Create data for a Fine-Gray model
flchain

Assay of serum free light chain for 7874 subjects.
survSplit

Split a survival data set at specified times
logan

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

Test Survival Curve Differences
survexp.object

Expected Survival Curve Object
lung

NCCTG Lung Cancer Data
predict.survreg

Predicted Values for a `survreg' Object
mgus

Monoclonal gammapothy data
mgus2

Monoclonal gammapothy data
ratetables

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

Ancillary arguments for controlling coxph fits
print.aareg

Print an aareg object
tmerge

Time based merge for survival data
ratetableDate

Convert date objects to ratetable form
genfan

Generator fans
coxph.detail

Details of a Cox Model Fit
tobin

Tobin's Tobit data
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
pbcseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
heart

Stanford Heart Transplant data
pspline

Smoothing splines using a pspline basis
lines.survfit

Add Lines or Points to a Survival Plot
rats

Rat treatment data from Mantel et al
plot.aareg

Plot an aareg object.
logLik.coxph

logLik method for a Cox model
pyears

Person Years
statefig

Draw a state space figure.
rats2

Rat data from Gail et al.
plot.cox.zph

Graphical Test of Proportional Hazards
residuals.coxph

Calculate Residuals for a `coxph' Fit
print.survfit

Print a Short Summary of a Survival Curve
strata

Identify Stratification Variables
print.summary.survfit

Print Survfit Summary
rhDNase

rhDNASE data set
ridge

Ridge regression
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.
summary.pyears

Summary function for pyears objecs
survreg

Regression for a Parametric Survival Model
summary.survexp

Summary function for a survexp object
survfit

Create survival curves
survreg.control

Package options for survreg and coxph
yates_setup

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

Compute a Survival Curve from a Cox model
survregDtest

Verify a survreg distribution
tcut

Factors for person-year calculations
survexp

Compute Expected Survival
survival-internal

Internal survival functions
survexp.fit

Compute Expected Survival
transplant

Liver transplant waiting list
veteran

Veterans' Administration Lung Cancer study
survobrien

O'Brien's Test for Association of a Single Variable with Survival
untangle.specials

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

Population prediction
anova.coxph

Analysis of Deviance for a Cox model.