Learn R Programming

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

survival (version 2.38-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

132,377

Version

2.38-3

License

LGPL (>= 2)

Maintainer

Last Published

July 2nd, 2015

Functions in survival (2.38-3)

ratetableDate

Convert date objects to ratetable form
print.summary.survexp

Print Survexp Summary
print.aareg

Print an aareg object
cox.zph

Test the Proportional Hazards Assumption of a Cox Regression
heart

Stanford Heart Transplant data
ratetable

Ratetable reference in formula
rats

Rat treatment data from Mantel et al
attrassign

Create new-style "assign" attribute
bladder

Bladder Cancer Recurrences
strata

Identify Stratification Variables
neardate

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

Compute a quadratic form
untangle.specials

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

Conditional logistic regression
cch

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

logLik method for a Cox model
flchain

Assay of serum free light chain for 7874 subjects.
logan

Data from the 1972-78 GSS data used by Logan
print.survfit

Print a Short Summary of a Survival Curve
cgd0

Chronic Granulotomous Disease data
kidney

Kidney catheter data
summary.survexp

Summary function for a survexp object
coxph.control

Ancillary arguments for controling coxph fits
survfit.formula

Compute a Survival Curve for Censored Data
lines.survfit

Add Lines or Points to a Survival Plot
plot.cox.zph

Graphical Test of Proportional Hazards
survfitcoxph.fit

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

Create survival curves
residuals.survreg

Compute Residuals for `survreg' Objects
tobin

Tobin's Tobit data
predict.survreg

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

Model.frame method for coxph objects
is.ratetable

Verify that an object is of class ratetable.
ratetables

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

Summary method for Cox models
survfit.object

Survival Curve Object
veteran

Veterans' Administration Lung Cancer study
ridge

Ridge regression
aml

Acute Myelogenous Leukemia survival data
coxph

Fit Proportional Hazards Regression Model
uspop2

Projected US Population
pbc

Mayo Clinic Primary Biliary Cirrhosis Data
transplant

Liver transplant waiting list
stanford2

More Stanford Heart Transplant data
coxph.object

Proportional Hazards Regression Object
residuals.coxph

Calculate Residuals for a `coxph' Fit
lung

NCCTG Lung Cancer Data
pyears

Person Years
survreg

Regression for a Parametric Survival Model
survreg.control

Package options for survreg and coxph
survreg.object

Parametric Survival Model Object
survreg.distributions

Parametric Survival Distributions
survConcordance

Compute a concordance measure.
Surv

Create a Survival Object
aareg

Aalen's additive regression model for censored data
nwtco

Data from the National Wilm's Tumor Study
pspline

Smoothing splines using a pspline basis
plot.survfit

Plot method for survfit objects
basehaz

Alias for the survfit function
tcut

Factors for person-year calculations
survdiff

Test Survival Curve Differences
anova.coxph

Analysis of Deviance for a Cox model.
survSplit

Split a survival data set at specified times
dsurvreg

Distributions available in survreg.
model.matrix.coxph

Model.matrix method for coxph models
cgd

Chronic Granulotomous Disease data
agreg.fit

Cox model fitting functions
plot.aareg

Plot an aareg object.
mgus

Monoclonal gammapothy data
print.summary.survfit

Print Survfit Summary
survival-internal

Internal survival functions
summary.survfit

Summary of a Survival Curve
survobrien

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

Time based merge for survival data
predict.coxph

Predictions for a Cox model
mgus2

Monoclonal gammapothy data
rats2

Rat data from Gail et al.
pbcseq

Mayo Clinic Primary Biliary Cirrhosis, sequential data
survexp

Compute Expected Survival
survexp.fit

Compute Expected Survival
survfit.coxph

Compute a Survival Curve from a Cox model
survregDtest

Verify a survreg distribution
colon

Chemotherapy for Stage B/C colon cancer
cluster

Identify clusters.
coxph.detail

Details of a Cox Model Fit
frailty

Random effects terms
print.summary.coxph

Print method for summary.coxph objects
quantile.survfit

Quantiles from a survfit object
ovarian

Ovarian Cancer Survival Data
summary.aareg

Summarize an aareg fit