Rdocumentation
powered by
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
Link to current version
Version
Version
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
132,377
Version
3.6-4
License
LGPL (>= 2)
Issues
16
Pull Requests
5
Stars
393
Forks
106
Repository
https://github.com/therneau/survival
Maintainer
Terry Therneau
Last Published
April 24th, 2024
Functions in survival (3.6-4)
Search all functions
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