Flexible Regression Models for Survival Data
Overview
Programs for Martinussen and Scheike (2006), `Dynamic Regression Models for Survival Data', Springer Verlag. Plus more recent developments. Additive survival model, semiparametric proportional odds model, fast cumulative residuals, excess risk models and more. Flexible competing risks regression including GOF-tests. Two-stage frailty modelling. PLS for the additive risk model. Lasso in the 'ahaz' package.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 43
- Examples that run
- 73%27 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran) · 6 hold no code
- Exported functions with examples
- 86%
- Documented parameters
- 100%
- Return-value docs
- 57%
- Help pages citing references
- 63%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
2 development-tooling and community-health practices detected across 1 family in the upstream repository
Checks run against github.com/scheike/timereg on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing timereg adds 11 packages (3 with compiled code, 4.0 MB of source tarballs). Heaviest: lava 1.2 MB, progressr 650 KB, cli 629 KB.
Show all 13 packagesHide all 13 packages
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.0.7Latest
- RR 4.5.0 released · 2025-04-11
- 2.0.62024-09-06 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 2.0.52023-01-17 · diff ↗ ·
removed 15 exports
invsubdist, subdist, pre.cifs, rchaz, rcrisk, read.fit, simsubdist, pc.hazard, simrchaz, sim.cif, sim.cifs, sim.cifsRestrict, sim.cox, sim.base, sim.cause.cox - 2.0.42022-11-09 · diff ↗
- 2.0.3
- RR 4.2.0 released · 2022-04-22
- 2.0.22022-04-11 · diff ↗
- 2.0.12021-10-13 · diff ↗
- 2.0.02021-05-20 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.9.92021-05-17 · diff ↗
- 1.9.82020-10-05 · diff ↗
Show 67 earlier eventsHide 67 earlier events
- 1.9.72020-08-24 · diff ↗
- 1.9.62020-07-16 · diff ↗
- 1.9.5
- RR 4.0.0 released · 2020-04-24
- 1.9.42019-07-30 · diff ↗ ·
removed 2 exports
pchazard.sim, cause.pchazard.simadded 3 exports
rchaz, rcrisk, simrchaz - RR 3.6.0 released · 2019-04-26
- 1.9.3
- RR 3.5.0 released · 2018-04-23
- 1.9.22018-01-30 · diff ↗ ·
added 10 exports
invsubdist, subdist, pre.cifs, recurrent.marginal.mean, recurrent.marginal.coxmean, read.fit, simsubdist, sim.cif, sim.cifs, sim.cause.cox - 1.9.12017-05-21 · diff ↗ ·
added 6 exports
coefcox, pava.pred, pc.hazard, pchazard.sim, cause.pchazard.sim, sim.cox - RR 3.4.0 released · 2017-04-21
- 1.9.02016-10-06 · diff ↗ ·
added 11 exports
cluster.index.timereg, cox.marg, event.split, qcut, coef.cox.marg, print.cox.marg, summary.cox.marg, vcov.two.stage, vcov.comp.risk, vcov.cox.aalen, vcov.aalen - RR 3.3.0 released · 2016-05-03
- 1.8.92015-05-28 · diff ↗
- 1.8.82015-05-28 · diff ↗ ·
added 17 exports
prep.comp.risk, prep.glm.comprisk, pred.stratKM, prop.odds.subdist.ipw, res.mean, coef.comprisk.ipw, print.comprisk.ipw, summary.comprisk.ipw, coef.cox.ipw, print.cox.ipw, summary.cox.ipw, coef.resmean, plot.resmean, print.resmean, summary.resmean, plot.restricted.residual.mean, summary.restricted.residual.mean - RR 3.2.0 released · 2015-04-16
- 1.8.72015-03-05 · diff ↗ ·
removed 1 export
Gprop.odds.subdistadded 3 exports
comprisk.ipw, names2formula, timereg.formula - 1.8.62014-11-18 · diff ↗ ·
added 11 exports
cox.ipw, Event, as.matrix.Event, as.character.Event, format.Event, print.Event, summary.Event, rbind.Event, [.Event, kmplot, sindex.prodlim - 1.8.5
- RR 3.1.0 released · 2014-04-10
- 1.8.4
- 1.8.32014-01-02 · diff ↗
- 1.8.22013-11-21 · diff ↗
- 1.8.12013-10-28 · diff ↗
- 1.8.02013-08-26 · diff ↗
- 1.7.92013-08-25 · diff ↗ ·
removed 10 exports
additive.pls, additive.plsR, cluster.index, cv.folds, summary.pls, slaaop, sindex.prodlim, pls.surv.cv, print.pls, predict.plsadded 3 exports
Gprop.odds.subdist, predictpropodds, prop.odds.subdist - 1.7.72013-06-13 · diff ↗ ·
added 20 exports
cox, dynreg, dynregBase, prop.excess, prop.excessBase, semicox, semiregBase, timecox, timecoxBase, plot.dynreg, plot.prop.excess, plot.timecox, print.dynreg, print.prop.excess, print.timecox, summary.dynreg, summary.prop.excess, summary.timecox, coef.dynreg, coef.timecox - 1.7.62013-05-23 · diff ↗
- 1.7.52013-05-02 · diff ↗
- 1.7.42013-04-30 · diff ↗ ·
removed 30 exports
additive.pls, additive.plsR, cluster.index, cox, cv.folds, dynreg, dynregBase, summary.pls, prop.excess, prop.excessBase, semicox, semiregBase, slaaop, sindex.prodlim, pls.surv.cv, timecox, timecoxBase, plot.dynreg, plot.prop.excess, plot.timecox, print.dynreg, print.prop.excess, print.timecox, print.pls, summary.dynreg, summary.prop.excess, summary.timecox, predict.pls, coef.dynreg, coef.timecoxadded 3 exports
Gprop.odds.subdist, predictpropodds, prop.odds.subdist - RR 3.0.0 released · 2013-04-03
- 1.7.0
- 1.6-92012-12-18 · diff ↗
- 1.6-8
- 1.6-72012-07-05 · diff ↗ ·
removed 3 exports
Gprop.odds.subdist, predictpropodds, prop.odds.subdistadded 10 exports
additive.pls, additive.plsR, cluster.index, cv.folds, summary.pls, slaaop, sindex.prodlim, pls.surv.cv, print.pls, predict.pls - 1.6-5
- 1.6-3
- RR 2.15.0 released · 2012-03-30
- 1.6-02011-11-21 · diff ↗ ·
removed 15 exports
my.lars, myplot.lars, surv.lars, surv.lars.cv, mycoef.lars, mypredict.lars, plot.predictAalen, plot.predictComprisk, plot.predictCoxAalen, print.predictAalen, print.predictComprisk, print.predictCoxAalen, summary.predictAalen, summary.predictComprisk, summary.predictCoxAalenadded 6 exports
is.diag, wald.test, plot.predict.timereg, print.predict.timereg, summary.predict.timereg, predict.timereg - 1.5-62011-11-15 · diff ↗
- 1.5-52011-11-08 · diff ↗ ·
removed 16 exports
my.lars, myplot.lars, surv.lars, surv.lars.cv, mycoef.lars, mypredict.lars, two.stageBase.reg, plot.predictAalen, plot.predictComprisk, plot.predictCoxAalen, print.predictAalen, print.predictComprisk, print.predictCoxAalen, summary.predictAalen, summary.predictComprisk, summary.predictCoxAalenadded 6 exports
is.diag, plot.predict.timereg, print.predict.timereg, summary.predict.timereg, predict.timereg, predict.two.stage - RR 2.14.0 released · 2011-10-31
- 1.5-02011-05-06 · diff ↗ ·
removed 5 exports
is.diag, plot.predict.timereg, print.predict.timereg, summary.predict.timereg, predict.timeregadded 15 exports
my.lars, myplot.lars, surv.lars, surv.lars.cv, mycoef.lars, mypredict.lars, plot.predictAalen, plot.predictComprisk, plot.predictCoxAalen, print.predictAalen, print.predictComprisk, print.predictCoxAalen, summary.predictAalen, summary.predictComprisk, summary.predictCoxAalen - RR 2.13.0 released · 2011-04-13
- 1.4-22010-12-29 · diff ↗ ·
removed 4 exports
aalenBaseTest, aalen.test, des.aalen, semiaalenTestadded 3 exports
aalenBaseC, cv.folds, plotScore - RR 2.12.0 released · 2010-10-15
- 1.3-62010-10-08 · diff ↗
- 1.3-52010-08-04 · diff ↗
- 1.3-42010-06-25 · diff ↗
- 1.3-32010-06-11 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 1.3-02010-04-15 · diff ↗
- 1.2-92010-01-27 · diff ↗
- 1.2-72009-11-26 · diff ↗
- RR 2.10.0 released · 2009-10-26
- 1.2-52009-07-31 · diff ↗ ·
removed 4 exports
two.stage.reg, two.stageBase, print.two.stage.reg, summary.two.stage.regadded 2 exports
additive.compSs, plot.cums - 1.2-22009-06-14 · diff ↗
- 1.2-02009-06-08 · diff ↗ ·
removed 5 exports
lasso.boost, lasso.boostR, lasso.add.hazard, mylars, surv.lars.gcvadded 6 exports
my.lars, myplot.lars, summary.pls, pls.surv.cv, print.pls, predict.pls - RR 2.9.0 released · 2009-04-17
- 1.1-82009-04-16 · diff ↗
- 1.1-72009-03-30 · diff ↗
- 1.1-6
- 1.1-22008-11-11 · diff ↗ ·
added 12 exports
additive.pls, additive.plsR, krylow.pls, lasso.boost, lasso.boostR, lasso.add.hazard, mylars, surv.lars, surv.lars.cv, surv.lars.gcv, mycoef.lars, mypredict.lars - 1.1-12008-11-07 · diff ↗ ·
added 103 exports
aalen, aalen.des, aalenBase, aalenBaseTest, aalen.test, additive.pls, additive.plsR, check.missing, rm.missing, coefBase, comp.risk, const, cox, cox.aalen, cox.aalenBase, cum.residuals, Cpred, Csmooth2B, CsmoothB, des.aalen, dynreg, dynregBase, Gprop.odds, krylow.pls, lasso.boost, lasso.boostR, lasso.add.hazard, localTimeReg, mylars, nameestimate and 73 more - RR 2.8.0 released · 2008-10-20
- 1.1-02008-08-08
- RR 2.7.0 released · 2008-04-22
Package metadata
- First published
- 2008-08-08
- Total releases
- 60 / 18 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 2.15
- Bundled data
- 151 KB / 10 files
- Download size
- 397 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("timereg")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.