Event History Analysis
Overview
Parametric proportional hazards fitting with left truncation and right censoring for common families of distributions, piecewise constant hazards, and discrete models. Parametric accelerated failure time models for left truncated and right censored data. Proportional hazards models for tabular and register data. Sampling of risk sets in Cox regression, selections in the Lexis diagram, bootstrapping. Broström (2022) doi:10.1201/9780429503764.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-06-07
Show 2 earlier changesHide 2 earlier changes
- WARNING12 OK, 1 WARNING2026-05-13
- OK14 OK2026-03-10
Documentation
- Help pages
- 92includes a package overview page
- Examples that run
- 96%50 run in a plain check · 1 never run · 1 hold no code
- Exported functions with examples
- 55%
- Documented parameters
- 89%
- Return-value docs
- 91%
- Help pages citing references
- 15%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 11
Stars over time
Forks over time
Issues over time
PRs over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/goranbrostrom/eha on 2026-10-18.
GitHub Pages site last deployed 2020-03-31
Dependencies
Installing eha adds no packages beyond those that come with R.
Show all 20 packagesHide all 20 packages
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 2.12.0Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.11.52024-09-20 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 2.11.42024-03-08 · diff ↗
- 2.11.22023-11-28 · diff ↗
- 2.11.12023-10-01 · diff ↗
- 2.11.0
- RR 4.3.0 released · 2023-04-21
- 2.10.32023-02-10 · diff ↗
- 2.10.12022-11-16 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.10.0
- RR 4.1.0 released · 2021-05-18
- 2.9.02021-04-30 · diff ↗
Show 96 earlier eventsHide 96 earlier events
- 2.8.5
- 2.8.42020-12-15 · diff ↗ ·
removed 5 exports
ghq, glmmML, glmmML.fit, glmmboot, glmmbootFitadded 5 exports
Surv, coxfunk, hazards, logrank, strata - RR 4.0.0 released · 2020-04-24
- 2.8.12020-04-01 · diff ↗
- 2.8.0
- 2.7.6
- RR 3.6.0 released · 2019-04-26
- 2.6.0
- RR 3.5.0 released · 2018-04-23
- 2.5.1
- 2.5.02017-10-12 · diff ↗ ·
removed 25 exports
print.glmmML, summary.glmmML, print.glmmboot, summary.glmmboot, dpch, hpch, Hpch, ppch, plot.aftreg, plot.coxreg, plot.hazdata, plot.phreg, plot.Surv, plot.weibreg, print.aftreg, print.coxreg, print.phreg, print.weibreg, qpch, rEV, rpch, summary.aftreg, summary.coxreg, summary.phreg, summary.weibreg - 2.4-62017-09-22 · diff ↗
- 2.4-52017-05-03 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 2.4-42016-09-21 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 2.4-32015-05-05 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 2.4-22014-12-17 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 2.4-12014-02-17 · diff ↗
- 2.4-02014-02-10 · diff ↗
- 2.3-1
- 2.2-6
- 2.2-52013-05-13 · diff ↗
- 2.2-32013-04-18 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 2.2-22013-03-23 · diff ↗
- 2.2-12013-01-06 · diff ↗
- 2.2-02012-10-30 · diff ↗
- 2.1-22012-08-30 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 2.0-72012-01-05 · diff ↗
- 2.0-6
- RR 2.14.0 released · 2011-10-31
- 2.0-5
- 2.0-42011-08-28 · diff ↗
- 2.0-32011-08-13 · diff ↗
- 2.0-22011-08-08 · diff ↗
- 2.0-12011-08-08 · diff ↗ ·
added 16 exports
ghq, glmmboot, glmmbootFit, glmmML, glmmML.fit, print.glmmML, summary.glmmML, print.glmmboot, summary.glmmboot, dpch, hpch, Hpch, ppch, qpch, rpch, SurvSplit - 1.42011-06-26 · diff ↗
- 1.3-72011-06-21 · diff ↗
- 1.3-62011-06-19 · diff ↗
- 1.3-52011-05-21 · diff ↗
- 1.3-42011-05-11 · diff ↗
- 1.3-32011-05-04 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 1.3-22011-03-01 · diff ↗
- 1.3-12011-02-15 · diff ↗
- 1.3-02011-02-08 · diff ↗
- RR 2.12.0 released · 2010-10-15
- RR 2.11.0 released · 2010-04-22
- 1.2-182010-02-28 · diff ↗
- 1.2-172010-02-24 · diff ↗
- 1.2-162010-02-19 · diff ↗
- 1.2-132009-10-26 · diff ↗
- RR 2.10.0 released · 2009-10-26
- 1.2-122009-10-16 · diff ↗
- RR 2.9.0 released · 2009-04-17
- 1.2-42009-01-13 · diff ↗
- RR 2.8.0 released · 2008-10-20
- 1.2-32008-09-28 · diff ↗
- 1.2-22008-08-26 · diff ↗
- 1.2-02008-07-20 · diff ↗ ·
added 38 exports
aftreg, aftreg.fit, check.dist, dEV, dllogis, dgompertz, dmakeham, hEV, hllogis, hlnorm, hgompertz, hmakeham, HEV, Hllogis, Hlnorm, Hgompertz, Hmakeham, phfunc, phreg, phreg.fit, pEV, pllogis, pgompertz, pmakeham, plot.aftreg, plot.coxreg, plot.hazdata, plot.phreg, print.aftreg, print.phreg and 8 more - RR 2.7.0 released · 2008-04-22
- 1.02007-10-07 · diff ↗
- RR 2.6.0 released · 2007-10-03
- 0.99-12007-06-11 · diff ↗
- 0.99
- RR 2.5.0 released · 2007-04-24
- 0.98-02007-03-29 · diff ↗
- 0.97-12007-01-05 · diff ↗
- 0.972007-01-01 · diff ↗
- RR 2.4.0 released · 2006-10-03
- 0.96-4
- 0.96-3
- 0.96-22006-06-21 · diff ↗
- RR 2.3.0 released · 2006-04-24
- 0.95-52006-04-15 · diff ↗
- 0.95-42005-10-24 · diff ↗
- 0.95-3
- 0.95-12005-10-14 · diff ↗
- RR 2.2.0 released · 2005-10-06
- 0.94-42005-08-24 · diff ↗
- 0.94-3
- RR 2.1.0 released · 2005-04-18
- 0.94-12005-03-30 · diff ↗
- 0.93-02004-12-27 · diff ↗ ·
added 26 exports
age.window, cal.window, check.surv, coxreg, coxreg.fit, cro, frail.fit, geome.fit, join.spells, make.communal, mlreg, mlreg.fit, perstat, piecewise, plot.cum, plot.Surv, plot.weibreg, print.coxreg, print.weibreg, risksets, summary.coxreg, summary.weibreg, table.events, weibreg, weibreg.fit, wfunk - RR 2.0.0 released · 2004-10-04
- RR 1.9.0 released · 2004-04-12
- 0.92-22004-03-01 · diff ↗
- 0.92-12004-01-08 · diff ↗
- RR 1.8.0 released · 2003-10-08
- 0.90-12003-06-17 · diff ↗
- 0.902003-06-11
- RR 1.7.0 released · 2003-04-16
Package metadata
- First published
- 2003-06-11
- Total releases
- 79 / 23 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 668 KB / 10 files
- Download size
- 2.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("eha")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.