Rdocumentation
powered by
Learn R Programming
survival (version 3.8-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
Link to current version
Version
Version
3.8-3
3.7-0
3.6-4
3.5-8
3.5-7
3.5-5
3.5-3
3.5-0
3.4-0
3.3-1
3.3-0
3.2-13
3.2-12
3.2-11
3.2-10
3.2-9
3.2-7
3.2-3
3.1-12
3.1-11
3.1-8
3.1-7
3.1-6
2.44-1.1
2.44-1
2.43-3
2.43-1
2.42-6
2.42-4
2.42-3
2.41-3
2.41-2
2.40-1
2.39-5
2.39-4
2.39-3
2.39-2
2.38-3
2.38-2
2.38-1
2.37-7
2.37-6
2.37-4
2.37-2
2.36-14
2.36-13
2.36-12
2.36-10
2.36-9
2.36-8
2.36-7
2.36-5
2.36-4
2.36-3
2.36-2
2.36-1
2.35-8
2.35-7
2.35-6
2.35-5
2.35-4
2.35-3
2.35-2
2.34-1
2.33
2.32
2.31
2.30
2.29
2.28
2.26
2.25
2.24
2.23
2.22
2.21
2.20
2.19
2.18
2.17
2.16
2.15
2.13-2
2.13-1
2.11-5
2.11-4
2.9-16
2.9-15
2.9-14
2.9-13
2.9-12
2.9-11
2.9-10
2.9-7
2.9-6
2.9-4
2.9-3
2.9-2
2.9-1
2.8-2
2.6
Install
install.packages('survival')
Monthly Downloads
100,052
Version
3.8-3
License
LGPL (>= 2)
Issues
18
Pull Requests
6
Stars
395
Forks
106
Repository
https://github.com/therneau/survival
Maintainer
Terry Therneau
Last Published
December 17th, 2024
Functions in survival (3.8-3)
Search all functions
attrassign
Create new-style "assign" attribute
basehaz
Alias for the survfit function
agreg.fit
Cox model fitting functions
aeqSurv
Adjudicate near ties in a Surv object
brier
Compute the Brier score for a Cox model
Surv2
Create a survival object
Surv2data
Convert data from timecourse to (time1,time2) style
aggregate.survfit
Average survival curves
aml
Acute Myelogenous Leukemia survival data
frailty
Random effects terms
aareg
Aalen's additive regression model for censored data
cch
Fits proportional hazards regression model to case-cohort data
bladder
Bladder Cancer Recurrences
blogit
Bounded link functions
anova.coxph
Analysis of Deviance for a Cox model.
gbsg
Breast cancer data sets used in Royston and Altman (2013)
coxph.control
Ancillary arguments for controlling coxph fits
cgd0
Chronic Granulotomous Disease data
Surv-methods
Methods for Surv objects
cgd
Chronic Granulotamous Disease data
cox.zph
Test the Proportional Hazards Assumption of a Cox Regression
coxsurv.fit
A direct interface to the `computational engine' of survfit.coxph
coxph
Fit Proportional Hazards Regression Model
coxphms.object
Multi-state Proportional Hazards Regression Object
plot.aareg
Plot an aareg object.
nwtco
Data from the National Wilm's Tumor Study
kidney
Kidney catheter data
colon
Chemotherapy for Stage B/C colon cancer
plot.cox.zph
Graphical Test of Proportional Hazards
cluster
Identify clusters.
ovarian
Ovarian Cancer Survival Data
reliability
Reliability data sets
print.survfit
Print a Short Summary of a Survival Curve
levels.Surv
Return the states of a multi-state Surv object
coxph.wtest
Compute a quadratic form
coxph.object
Proportional Hazards Regression Object
print.summary.survfit
Print Survfit Summary
is.ratetable
Verify that an object is of class ratetable.
residuals.coxph
Calculate Residuals for a `coxph' Fit
nsk
Natural splines with knot heights as the basis.
cipoisson
Confidence limits for the Poisson
neardate
Find the index of the closest value in data set 2, for each entry in data set one.
concordancefit
Compute the concordance
coxph.detail
Details of a Cox Model Fit
ratetable
Allow ratetable() terms in a model
ratetableDate
Convert date objects to ratetable form
finegray
Create data for a Fine-Gray model
concordance
Compute the concordance statistic for data or a model
clogit
Conditional logistic regression
diabetic
Ddiabetic retinopathy
flchain
Assay of serum free light chain for 7874 subjects.
mgus2
Monoclonal gammopathy data
dsurvreg
Distributions available in survreg.
residuals.survfit
IJ residuals from a survfit object.
print.aareg
Print an aareg object
logLik.coxph
logLik method for a Cox model
quantile.survfit
Quantiles from a survfit object
lines.survfit
Add Lines or Points to a Survival Plot
predict.survreg
Predicted Values for a `survreg' Object
pyears
Person Years
retinopathy
Diabetic Retinopathy
pbc
Mayo Clinic Primary Biliary Cholangitis Data
logan
Data from the 1972-78 GSS data used by Logan
pbcseq
Mayo Clinic Primary Biliary Cirrhosis, sequential data
residuals.survreg
Compute Residuals for `survreg' Objects
heart
Stanford Heart Transplant data
print.summary.coxph
Print method for summary.coxph objects
model.frame.coxph
Model.frame method for coxph objects
summary.pyears
Summary function for pyears objecs
model.matrix.coxph
Model.matrix method for coxph models
survcheck
Checks of a survival data set
rhDNase
rhDNASE data set
print.summary.survexp
Print Survexp Summary
survcondense
Shorten a (time1, time2) survival dataset
myeloid
Acute myeloid leukemia
survfit.object
Survival Curve Object
survfit
Create survival curves
summary.coxph
Summary method for Cox models
summary.aareg
Summarize an aareg fit
survfit.matrix
Create Aalen-Johansen estimates of multi-state survival from a matrix of hazards.
ratetables
Census Data Sets for the Expected Survival and Person Years Functions
myeloma
Survival times of patients with multiple myeloma
hoel
Mouse cancer data
nafld
Non-alcoholic fatty liver disease
survival-deprecated
Deprecated functions in package
survival
lung
NCCTG Lung Cancer Data
predict.coxph
Predictions for a Cox model
rats
Rat treatment data from Mantel et al
plot.survfit
Plot method for
survfit
objects
mgus
Monoclonal gammopathy data
survival-internal
Internal survival functions
royston
Compute Royston's D for a Cox model
summary.survexp
Summary function for a survexp object
rotterdam
Breast cancer data set used in Royston and Altman (2013)
ridge
Ridge regression
rats2
Rat data from Gail et al.
survreg.distributions
Parametric Survival Distributions
rttright
Compute redistribute-to-the-right weights
untangle.specials
Help Process the `specials' Argument of the `terms' Function.
pseudo
Pseudo values for survival.
survreg.control
Package options for survreg and coxph
pspline
Smoothing splines using a pspline basis
solder
Data from a soldering experiment
transplant
Liver transplant waiting list
stanford2
More Stanford Heart Transplant data
survexp
Compute Expected Survival
udca
Data from a trial of usrodeoxycholic acid
survdiff
Test Survival Curve Differences
strata
Identify Stratification Variables
survobrien
O'Brien's Test for Association of a Single Variable with Survival
statefig
Draw a state space figure.
survfitcoxph.fit
A direct interface to the `computational engine' of survfit.coxph
survfit0
Convert the format of a survfit object.
tcut
Factors for person-year calculations
survexp.fit
Compute Expected Survival
uspop2
Projected US Population
survreg
Regression for a Parametric Survival Model
xtfrm.Surv
Sorting order for Surv objects
yates
Population prediction
tmerge
Time based merge for survival data
timeline
Convert to/from a timeline data set format
tobin
Tobin's Tobit data
yates_setup
Method for adding new models to the
yates
function.
survexp.object
Expected Survival Curve Object
survSplit
Split a survival data set at specified times
survfit.coxph
Compute a Survival Curve from a Cox model
summary.survfit
Summary of a Survival Curve
survregDtest
Verify a survreg distribution
survreg.object
Parametric Survival Model Object
veteran
Veterans' Administration Lung Cancer study
vcov.coxph
Variance-covariance matrix
survfit.formula
Compute a Survival Curve for Censored Data
Surv
Create a Survival Object