survival: Survival Analysis

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.

Version: 3.4-0
Priority: recommended
Depends: R (≥ 3.5.0)
Imports: graphics, Matrix, methods, splines, stats, utils
Published: 2022-08-09
Author: Terry M Therneau [aut, cre], Thomas Lumley [ctb, trl] (original S->R port and R maintainer until 2009), Atkinson Elizabeth [ctb], Crowson Cynthia [ctb]
Maintainer: Terry M Therneau <therneau.terry at mayo.edu>
License: LGPL-2 | LGPL-2.1 | LGPL-3 [expanded from: LGPL (≥ 2)]
Copyright: see file COPYRIGHTS
URL: https://github.com/therneau/survival
NeedsCompilation: yes
Citation: survival citation info
Materials: NEWS
In views: ClinicalTrials, Econometrics, Survival
CRAN checks: survival results

Documentation:

Reference manual: survival.pdf
Vignettes: Adjusted Survival Curves
Approximating a Cox Model
Multi-state models and competing risks
Concordance
Discrimination and Calibration
Multi-state survival curves
Other vignettes
Population contrasts
Splines, plots, and interactions
The survival package
Roundoff error and tied times
Using Time Dependent Covariates
Validation

Downloads:

Package source: survival_3.4-0.tar.gz
Windows binaries: r-devel: survival_3.4-0.zip, r-release: survival_3.4-0.zip, r-oldrel: survival_3.4-0.zip
macOS binaries: r-release (arm64): survival_3.4-0.tgz, r-oldrel (arm64): survival_3.4-0.tgz, r-release (x86_64): survival_3.4-0.tgz, r-oldrel (x86_64): survival_3.4-0.tgz
Old sources: survival archive

Reverse dependencies:

Reverse depends: aCGH, AER, AF, ahaz, ahMLE, APtools, BART, bayesDP, BayesianMediationA, BayesMixSurv, bayesSurv, bcfrailph, bcfrailphdv, bhm, biostat3, blapsr, BMA, bpcp, bshazard, carcass, cchs, censored, CGEN, ClassifyR, cmprsk, coin, ComparisonSurv, compound.Cox, cond, contTimeCausal, Copula.Markov.survival, coxed, coxme, coxphSGD, coxphw, CoxR2, crrcbcv, crrSC, csampling, ctqr, cuRe, curephEM, currentSurvival, DCEtool, discfrail, distcomp, DOVE, DTAT, dtrSurv, dynamichazard, dynpred, epiDisplay, epiR, EquiSurv, EstimationTools, eventTrack, EvidenceSynthesis, factorial2x2, fitdistrplus, flexrsurv, flexsurv, flexsurvcure, frailtyEM, frailtyHL, frailtypack, frailtySurv, frequentistSSD, gamlss.cens, gcerisk, geecure, glmpath, globaltest, goldilocks, GORCure, GRridge, GSED, gte, haplo.ccs, HCmodelSets, Hmisc, HybridMTest, iBST, ICBayes, icenReg, Icens, icensBKL, ICGOR, idmTPreg, IDPSurvival, imputeYn, InferenceSMR, InformativeCensoring, interval, invGauss, iPath, IPCWK, ipcwswitch, IPDfromKM, ipflasso, isoSurv, iterativeBMAsurv, jlctree, JLPM, JM, JMbayes, JMbayes2, joineR, joineRML, joint.Cox, JointModel, JSM, kin.cohort, KMunicate, lcmm, linERR, logicFS, LogicReg, LongCART, lpl, luca, MapGAM, marg, messina, mexhaz, mfp, miRecSurv, missDeaths, mixcure, mma, mmabig, mmc, ModTools, MPLikelihoodWB, mRMRe, MST, mstate, multcomp, multipleNCC, multiridge, NADA, nftbart, nlreg, nltm, NPHMC, nricens, NSM3, OrdFacReg, ordinalgmifs, OTRselect, packHV, pamr, partDSA, pch, penalized, PenCoxFrail, penPHcure, peperr, permGS, PHeval, PHInfiniteEstimates, PICBayes, plac, psbcGroup, PwrGSD, Qest, qrcm, qrcmNP, randomizeR, rbsurv, RcmdrPlugin.BWS1, RcmdrPlugin.BWS2, RcmdrPlugin.coin, RcmdrPlugin.DCE, RcmdrPlugin.survival, RegParallel, relsurv, RISCA, risksetROC, rms, RobustAFT, rprev, rstpm2, season, seawaveQ, selectiveInference, SemiCompRisks, seqDesign, SigCheck, SIMMS, simMSM, smcure, smoothHR, smoothSurv, snpStats, speff2trial, SPREDA, spsurv, sptm, ssym, STAND, stepp, surrosurvROC, survBootOutliers, survC1, survcomp, survexp.fr, survey, survIDINRI, survivalMPL, survivalsvm, survJamda, survMisc, SurvRegCensCov, survRM2, survSNP, SurvTrunc, survtype, tdROC, TH.data, threg, thregI, timereg, tLagInterim, tnet, TransModel, TwoArmSurvSim, uni.survival.tree, uniah, VAJointSurv, VEwaning, VEwaningVariant, vsd, WPC, xhaz, YPBP, YPPE
Reverse imports: ActFrag, addhazard, adjSURVCI, aftgee, afthd, afttest, AICcmodavg, allestimates, amt, ANF, ascii, autohd, autoReg, Ball, bamlss, base.rms, basecamb, bayesCT, BayesCTDesign, BayesSurvival, baytrends, beanz, BeSS, bestridge, bigSurvSGD, binequality, BioPETsurv, biospear, BivRec, BlanketStatsments, blockForest, BloodCancerMultiOmics2017, BNPdensity, boot.pval, BSGW, bujar, c060, CalibrationCurves, canceR, cancerGI, CancerSubtypes, card, carSurv, Cascade, casebase, casper, CatPredi, CauchyCP, ccostr, CenBAR, censCov, censcyt, CeRNASeek, CFC, cforward, cg, cgrcusum, chest, chngpt, chopsticks, CIEE, ciTools, clespr, clustcurv, cmprskcoxmsm, cmprskQR, cohorttools, compareGroups, concreg, concurve, CondiS, condSURV, controlTest, CopulaCenR, CoRpower, cotram, Counterfactual, CoxBcv, coxphf, coxphMIC, coxrobust, coxrt, CP, CPsurv, CsChange, CSCNet, CSTE, CTP, cutoff, CutpointsOEHR, cvwrapr, cyclomort, Cyclops, DCEmgmt, dcurves, DelayedEffect.Design, DepCens, DeSousa2013, dipm, dirttee, diversityForest, drgee, DTR, DWreg, DynForest, DynNom, dynsurv, ecpc, EGRET, eha, EL2Surv, ELYP, ems, EnMCB, ePCR, Epi, epitab, epoc, etm, etree, eventglm, extrafrail, ezcox, familiar, fastcmprsk, FastJM, FHtest, fic, figuRes2, finalfit, fmrs, gamlss, gbm, GDCRNATools, GEInter, genefilter, GenEst, gestate, GFDsurv, gfoRmula, ggDCA, ggparty, ggquickeda, ggRandomForests, ggrisk, ggsurvfit, GJRM, glm.predict, glmnet, GofCens, GPSCDF, graphPAF, gravity, greport, GSgalgoR, GTDL, GWASTools, gwasurvivr, HazardDiff, HCTDesign, hdnom, hds, hesim, highMLR, HIMA, hoa, horseshoenlm, hrcomprisk, ICcalib, ICcforest, ICSKAT, idem, IMAS, imsig, incubate, interactionRCS, ipred, ipw, ipwCoxCSV, IrregLong, iterativeBMAsurv, ivtools, ivygapSE, JointAI, jomo, jskm, jsmodule, jstable, km.ci, kmi, KONPsurv, landest, Landmarking, landpred, lava, lilikoi, lillies, lodGWAS, longitudinalcascade, longROC, LTRCforests, LTRCtrees, mable, MachineShop, maczic, maftools, MAGNAMWAR, markovMSM, maxcombo, mboost, mccmeiv, Mediana, meerva, merlin, MetabolicSurv, metaRMST, metaSurvival, mets, MFSIS, mhazard, mhurdle, miceafter, miCoPTCM, MiMIR, MiRKAT, miRspongeR, miWQS, mixPHM, mixtools, mlma, mlr, mlt, mlt.docreg, mMARCH.AC, model4you, modeLLtest, mombf, moonBook, mpr, mratios, msaenet, msm, msmtools, MSstats, MTLR, mudens, muhaz, multiClust, multisite.accuracy, multiview, multtest, MXM, My.stepwise, NADA2, NetSAM, NNMIS, nnt, nparsurv, nph, NPHazardRate, nphPower, nphRCT, nsROC, numKM, obliqueRSF, ODS, omicsViewer, OneArm2stage, OneArmTTE, OptimalTiming, orthoDr, oscar, OSTE, packDAMipd, palasso, PAmeasures, pammtools, party, partykit, pathwayPCA, pathwayTMB, Patterns, pbatR, PBIR, PCLassoReg, pcoxtime, pda, PDATK, PDN, pec, pencal, permimp, personalized, Phase123, phenoTest, plsmselect, plsRcox, PMAPscore, postGGIR, powerSurvEpi, pre, prioritylasso, prodlim, ProSGPV, psborrow, pseval, psfmi, psichomics, psrwe, PTE, pubh, Publish, PWEALL, qgcomp, qgcompint, Qindex, QoLMiss, qris, QTOCen, quantreg, quickReg, R2Addhaz, RABR, randomGLM, rankhazard, RcmdrPlugin.KMggplot2, reconstructKM, recurrentpseudo, regmedint, regplot, regport, ReIns, remiod, remss, reReg, riAFTBART, rigr, riskRegression, RItools, RLassoCox, rmsb, rnaEditr, RoBSA, rocTree, ROlogit, rolr, rpsftm, rstanarm, Rsurrogate, RTCGA, RTCGAToolbox, RTNsurvival, safestats, SCCS, SCFA, SCORNET, scRNAtools, SEERaBomb, semicmprskcoxmsm, sGBJ, sglg, shrink, SIDES, sievePH, SIGN, sigsquared, simexaft, SimHaz, simPH, SIS, skpr, smcfcs, SMDIC, SMPracticals, sp23design, spatsurv, spBayesSurv, spef, squant, SSRMST, starnet, stdReg, StepReg, stpm, stratamatch, StratifiedMedicine, SubgrPlots, subtee, success, SUMMER, Sunclarco, superpc, SuRF.vs, Surrogate, SurrogateOutcome, SurrogateTest, surv2sampleComp, survAUC, survAWKMT2, survCurve, SurvDisc, survELtest, survex, SurvHiDim, survidm, SurviMChd, survival.svb, survival666, survivalAnalysis, survivalMPLdc, SurvivalPath, survivalREC, SurvMetrics, SurvMI, survminer, survParamSim, survRM2adapt, survRM2perm, survSens, SvyNom, synthpop, tableeasy, tfCox, ThresholdROCsurvival, tidyCDISC, tidycmprsk, TidyDensity, TimeVTree, tinyarray, tLagPropOdds, TNBC.CMS, tornado, tram, TraMineRextras, transmdl, tranSurv, TreatmentSelection, trio, TSDT, tsriadditive, TwoPhaseInd, TwoStepCLogit, valorate, VarReg, vennLasso, visR, vpc, WCE, Wcompo, weibulltools, WGCNA, WINS, WLreg, WR, WRTDStidal, xlink, xpose4
Reverse suggests: adjustedCurves, agridat, aorsf, aplore3, arsenal, ARTool, atable, bayesplot, BB, BFpack, biglasso, bnnSurvival, boot, Boruta, broom, broom.helpers, butcher, BuyseTest, CALIBERrfimpute, car, cBioPortalData, choplump, clinfun, confSAM, contsurvplot, coreSim, crosstable, curatedBladderData, curatedCRCData, curatedOvarianData, DAAG, dawai, depigner, desctable, discSurv, dlnm, dnet, doBy, dressCheck, edecob, EmpiricalCalibration, exactRankTests, extremefit, FastKM, fastlogranktest, flexmix, fluoSurv, forestmodel, forplo, FRESA.CAD, fwb, gamair, gamboostLSS, gamlss.inf, gap, genefu, genSurv, GGally, ggeffects, ggformula, ggfortify, ggpolar, ggstatsplot, glmglrt, glmSparseNet, glmulti, Greg, grf, grImport, grpreg, gtsummary, h2o, hal9001, HarmonizedTCGAData, heemod, highcharter, homomorpheR, HSAUR, HSAUR2, HSAUR3, HydeNet, icrf, insight, iNZightRegression, irboost, ISwR, kernhaz, kyotil, lavaSearch2, lmtest, lss2, marginaleffects, marginalizedRisk, MARSS, MASS, MatchIt, maxstat, mc2d, MCPModGeneral, mediation, metabolomicsR, metafor, mgcv, mi, mice, midasHLA, missRanger, mistat, mitml, momentuHMM, MultiAssayExperiment, MuMIn, musicatk, ncvreg, netdiffuseR, nlive, nncc, opera, outreg, pander, parameters, parmsurvfit, parsnip, pder, pensim, performance, ph2bye, ph2mult, phyloregion, pillar, PINSPlus, PlackettLuce, pmml, pmxpartab, PResiduals, purge, QHScrnomo, qwraps2, R2HTML, randomForestSRC, ranger, rattle, recodeflow, relevance, report, reporttools, RESI, ricu, RLT, rpart, rsimsum, RVAideMemoire, saemix, safe, sandwich, sharp, shinyPredict, simex, simstudy, simsurv, sirus, smog, smoothROCtime, sparseR, srvyr, SSLR, statsExpressions, subscreen, support.BWS, support.BWS2, support.BWS3, support.CEs, survivalmodels, survtmle, tab, tableone, tbm, TCGAbiolinks, texmex, tidybulk, tidytidbits, timeROC, tramME, tramnet, tramvs, trtf, truncreg, tuneRanger, UCSCXenaShiny, Umpire, utile.tables, utile.tools, utile.visuals, vdra, visreg, wally, WinRatio, xtable, zlog, ztable
Reverse enhances: denstrip, emmeans, papeR, prediction, qvcalc, stargazer, texreg

Linking:

Please use the canonical form https://CRAN.R-project.org/package=survival to link to this page.