A Toolbox for Public Health and Epidemiology
Overview
A toolbox for making R functions and capabilities more accessible to students and professionals from Epidemiology and Public Health related disciplines. Includes a function to report coefficients and confidence intervals from models using robust standard errors (when available), functions that expand 'ggplot2' plots and functions relevant for introductory papers in Epidemiology or Public Health. Please note that use of the provided data sets is for educational purposes only.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-02
Show 1 earlier changeHide 1 earlier change
- ERROR13 OK, 1 ERROR2026-03-10
Documentation
- Help pages
- 54
- Examples that run
- 100%44 run in a plain check
- Exported functions with examples
- 95%
- Documented parameters
- 100%
- Return-value docs
- 68%
- Help pages citing references
- 2%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 6
Stars over time
Forks over time
Issues over time
PRs over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/josie-athens/pubh on 2026-10-18.
Dependencies
Installing pubh adds 126 packages (58 with compiled code, 115 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.
- epitoolsfix by Nov 2
Code & Tests
Datasets
People & History
Show 8 peopleHide 8 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 3.0.0Latest2025-10-21 · current release · diff ↗ ·
removed 4 exports
axis_labs, box_plot, gf_star, hist_normadded 6 exports
cosm_reg, cosm_sum, cross_tbl, effect_plot, gg_star, theme_pubh - RR 4.5.0 released · 2025-04-11
- 2.0.02024-10-08 · diff ↗ ·
removed 8 exports
contingency, contingency2, cosm_reg, cosm_sum, cross_tbl, diag_test, diag_test2, theme_pubh - 1.3.72024-08-17 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.3.22024-01-11 · diff ↗
- 1.3.12023-11-14 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.2.72022-04-04 · diff ↗
- 1.2.52021-10-11 · diff ↗ ·
added 44 exports
axis_labs, bar_error, bland_altman, box_plot, bst, coef_det, contingency, contingency2, cosm_reg, cosm_sum, cross_tbl, diag_test, diag_test2, estat, expand_df, freq_cont, gen_bst_df, geo_mean, get_r2, gf_star, glm_coef, harm_mean, hist_norm, inv_logit, jack_knife, knife_mean, leverage, logistic_gof, mhor, model_labels and 14 more - RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2021-02-16
- 1.1.202021-02-16 · diff ↗
- archivedRemoved from CRAN2021-02-12requires archived package 'huxtable'
Show 22 earlier eventsHide 22 earlier events
- 1.1.192020-12-03 · diff ↗
- 1.1.182020-11-10 · diff ↗
- unarchivedReturned to CRAN2020-07-07
- 1.1.162020-07-07 · diff ↗
- archivedRemoved from CRAN2020-06-29check problems were not corrected in time Does not use suggested package 'huxtable' conditionally
- 1.1.142020-06-02 · diff ↗
- 1.1.122020-04-26 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.1.62020-03-02 · diff ↗
- 1.1.52020-02-03 · diff ↗
- 1.1.32019-12-10 · diff ↗
- 1.1.22019-12-07 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.4.32018-11-02 · diff ↗
- 0.4.22018-08-30 · diff ↗
- 0.4.12018-08-10 · diff ↗
- 0.3.02018-07-11 · diff ↗
- 0.2.22018-07-04 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.1.72018-02-06 · diff ↗
- 0.1.62018-01-19
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-01-19
- Total releases
- 24 / 8 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 4.5.0
- Bundled data
- 23 KB / 14 files
- Download size
- 225 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("pubh")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.