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.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("survival")

2.44-1.1 by Terry M Therneau, 6 months ago


https://github.com/therneau/survival


Browse source code at https://github.com/cran/survival


Authors: Terry M Therneau [aut, cre] , Thomas Lumley [ctb, trl] (original S->R port and R maintainer until 2009)


Documentation:   PDF Manual  


Task views: Clinical Trial Design, Monitoring, and Analysis, Econometrics, Statistics for the Social Sciences, Survival Analysis


LGPL (>= 2) license


Imports graphics, Matrix, methods, splines, stats, utils


Imported by AICcmodavg, ActFrag, BGPhazard, BNPdensity, BSGW, Ball, BayesCTDesign, BeSS, Biograph, BootValidation, CFC, CIEE, CP, CPsurv, Cascade, CaseBasedReasoning, CatPredi, CeRNASeek, CoRpower, CopulaCenR, Counterfactual, CsChange, CutpointsOEHR, Cyclops, DDPGPSurv, DStree, DTR, DWreg, DelayedEffect.Design, DynNom, EGRET, EL2Surv, ELYP, EMA, Epi, FHtest, GJRM, GPSCDF, GenEst, ICcalib, ICcforest, IrregLong, KMgene, KONPsurv, LTRCtrees, MAGNAMWAR, MIICD, MTLR, MXM, MachineShop, Mediana, MetabolicSurv, My.stepwise, NNMIS, NPHazardRate, ODS, OptimalTiming, PAmeasures, PDN, PTE, PWEALL, Patterns, Phase123, Plasmode, Publish, QTOCen, RItools, ROlogit, RVFam, RcmdrPlugin.KMggplot2, ReIns, Rsurrogate, SCCS, SEERaBomb, SIDES, SIGN, SIS, SMPracticals, SSRMST, SUMMER, SimHaz, StratifiedMedicine, SubgrPlots, Sunclarco, Surrogate, SurrogateOutcome, SurrogateTest, SurvCorr, SurvDisc, SvyNom, TBSSurvival, TSDT, TimeVTree, TraMineRextras, TreatmentSelection, TwoPhaseInd, TwoStepCLogit, VRPM, VarReg, WCE, WGCNA, WLreg, WRTDStidal, addhazard, aftgee, amt, bamlss, baytrends, beanz, bhrcr, binequality, biospear, blockForest, c060, cancerGI, carSurv, casebase, ccostr, censCov, cg, chngpt, ciTools, clespr, clustcurv, cmprskQR, compareGroups, concreg, concurve, condSURV, controlTest, coxphMIC, coxphf, coxrt, dynsurv, ePCR, epitab, epoc, equSA, etm, factorMerger, fastcmprsk, fic, finalfit, fmrs, fragilityindex, gamlss, gbm, gestate, gfoRmula, ggRandomForests, ggparty, ggquickeda, glmBfp, gravity, greport, gtsummary, gyriq, hdnom, hds, hesim, hoa, hrIPW, icemelt, idem, ilc, imsig, intercure, ipred, ipw, ivtools, jomo, jskm, jsmodule, jstable, kmi, landest, landpred, lava, lodGWAS, longROC, longitudinalcascade, maxadjAUC, mboost, mccmeiv, mephas, merlin, metaRMST, mets, miCoPTCM, miWQS, mice, mixPHM, mixtools, mlr, mlt, modeLLtest, model4you, mombf, momentuHMM, moonBook, mpr, msaenet, msm, msmtools, mudens, muhaz, nima, nparsurv, nsROC, numKM, obliqueRSF, orthoDr, pact, palasso, pammtools, party, partykit, pbatR, pec, permDep, personalized, plsRcox, plsmselect, popEpi, powerSurvEpi, pre, prioritylasso, prodlim, pseval, psfmi, pubh, quickReg, rERR, rankhazard, rcure, reReg, regplot, reportRx, riskRegression, rld, robustloggamma, rocTree, rolr, rpsftm, rpst, rstanarm, scRNAtools, sensitivityPStrat, sglg, shrink, sievePH, simPH, simexaft, skpr, smcfcs, spBayesSurv, spatsurv, spef, stdReg, stpm, strataG, subtee, surrosurv, surv2sampleComp, survAWKMT2, survELtest, survRM2adapt, survidm, survivALL, survivalAnalysis, survminer, survsup, survutils, survxai, tab, tfCox, tram, tranSurv, utile.tables, uwIntroStats, valorate, vennLasso, vpc, weibulltools, xlink, xpose4.

Depended on by AER, AF, AHR, AIM, APtools, AdjBQR, BART, BMA, BayesMixSurv, BivRec, BivarP, CPE, CoxBoost, CoxPhLb, CoxRidge, DTAT, FamEvent, GORCure, GSAgm, GSED, HCmodelSets, Hmisc, ICBayes, ICGOR, IDPSurvival, IPWsurvival, InferenceSMR, InformativeCensoring, JM, JMbayes, JSM, JointModel, LCox, LncMod, LogicReg, MMMS, MPLikelihoodWB, MRH, MRsurv, MST, MapGAM, MiRKAT, NADA, NPHMC, NPMLENCC, NSM3, NestedCohort, OTRselect, OrdFacReg, OutlierDC, PHeval, PIGE, PRIMsrc, PenCoxFrail, PwrGSD, QualInt, RISCA, ROC632, ROCt, RPCLR, RcmdrPlugin.coin, RcmdrPlugin.survival, RobustAFT, SIMMS, SNPassoc, SPREDA, STAND, STAR, SemiCompRisks, SubgrpID, SurvBoost, SurvRegCensCov, SurvTrunc, Survgini, TH.data, TransModel, WPC, Zelig, ahaz, anoint, bayesDP, bayesSurv, bhm, biostat3, bshazard, carcass, cchs, cmprsk, coin, compound.Cox, cond, coxed, coxinterval, coxme, coxphSGD, coxphw, coxrobust, cr17, crossmatch, crrSC, crrp, csampling, ctqr, currentSurvival, discfrail, distcomp, drgee, dynamichazard, dynfrail, dynpred, eha, epiDisplay, epiR, factorial2x2, fitdistrplus, flexPM, flexrsurv, flexsurv, flexsurvcure, frailtyEM, frailtyHL, frailtySurv, frailtypack, gamlss.cens, gamlss.nl, gcerisk, geecure, geneSignatureFinder, glmaag, glmpath, globalboosttest, glrt, goftte, greyzoneSurv, gte, gtx, iBST, icenReg, icensBKL, idmTPreg, imputeYn, interval, invGauss, ipcwswitch, ipflasso, isoph, jlctree, joineR, joineRML, joineRmeta, joint.Cox, kaps, kin.cohort, km.ci, kmconfband, lava.tobit, lcmm, linERR, mRMRe, marg, mexhaz, mfp, mhurdle, missDeaths, mixor, mma, mmabig, mmc, mstate, multcomp, multipleNCC, multistate, nlreg, nltm, nricens, optmatch, ordinalgmifs, p3state.msm, packHV, paf, pamr, parfm, partDSA, pch, penalized, peperr, permGPU, permGS, phmm, plRasch, plac, prognosticROC, qgcomp, qrcm, qrcmNP, relsurv, risksetROC, rms, rprev, rstpm2, season, seawaveQ, selectiveInference, seqDesign, seqMeta, simMSM, smcure, smoothHR, smoothSurv, sp23design, speff2trial, sprinter, sptm, ssym, stepp, superpc, surrosurvROC, survAUC, survBootOutliers, survC1, survIDINRI, survJamda, survMisc, survRM2, survSNP, survexp.fr, survey, survivalMPL, survivalsvm, tdROC, threg, thregI, time2event, timereg, tnet, uniah, winRatioAnalysis.

Suggested by ARTool, BB, BuyseTest, CALIBERrfimpute, ClinReport, DAAG, DySeq, FRESA.CAD, FastKM, GGally, Greg, HSAUR, HSAUR2, HSAUR3, HydeNet, ISwR, LogrankA, MARSS, MASS, MCPModGeneral, MuMIn, PINSPlus, PResiduals, R2HTML, RLT, RVAideMemoire, SparkR, Umpire, agridat, aplore3, arsenal, bnnSurvival, boot, bpcp, breathtestcore, broom, butcher, car, catspec, choplump, climbeR, clinfun, confSAM, coreSim, dawai, desctable, discSurv, dlnm, dnet, doBy, epade, exactRankTests, extremefit, flexmix, fluoSurv, forestmodel, gamair, gamboostLSS, gamlss.inf, gap, genSurv, ggeffects, ggformula, ggfortify, ggstatsplot, glmnet, glmulti, grImport, grpreg, h2o, heemod, highcharter, homomorpheR, insight, itree, kernhaz, kyotil, lavaSearch2, lmtest, loose.rock, maxstat, mc2d, mediation, metaboGSE, metafor, mgcv, mi, missRanger, mistat, mitml, mlt.docreg, ncvreg, netdiffuseR, npsm, nutshell, opera, optband, outreg, pander, parmsurvfit, parsnip, pder, pensim, performance, ph2bye, ph2mult, pmml, purge, quantreg, qwraps2, randomForestSRC, ranger, rattle, reporttools, rpart, rsimsum, sandwich, simex, simstudy, simsurv, sirus, smoothROCtime, srvyr, subscreen, support.BWS, support.BWS2, support.CEs, survtmle, tableone, tbm, texmex, texreg, tidytidbits, timeROC, trtf, truncreg, tuneRanger, utile.tools, utile.visuals, visreg, wally, xtable, ztable.

Enhanced by denstrip, emmeans, papeR, prediction, stargazer.


See at CRAN