Skip to content

Greg

Regression Helper Functions

v2.0.3 · Aug 19, 2025 · GPL (>= 3)

Description

Methods for manipulating regression models and for describing these in a style adapted for medical journals. Contains functions for generating an HTML table with crude and adjusted estimates, plotting hazard ratio, plotting model estimates and confidence intervals using forest plots, extending this to comparing multiple models in a single forest plots. In addition to the descriptive methods, there are functions for the robust covariance matrix provided by the 'sandwich' package, a function for adding non-linearities to a model, and a wrapper around the 'Epi' package's Lexis() functions for time-splitting a dataset when modeling non-proportional hazards in Cox regressions.

Downloads

3.4K

Last 30 days

2211th

10.1K

Last 90 days

37.9K

Last year

Trend: +1.3% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies Gmisc forestplot broom Epi dplyr glue htmlTable (>= 2.0.0) Hmisc knitr nlme purrr rlang rms sandwich stringr +3 more dependencies forestplot Greg

Version History

new 2.0.3 Mar 10, 2026
updated 2.0.3 ← 2.0.2 diff Aug 18, 2025
updated 2.0.2 ← 2.0.1 diff Jan 28, 2024
updated 2.0.1 ← 2.0.0 diff Nov 15, 2022
updated 2.0.0 ← 1.4.1 diff Oct 12, 2022
updated 1.4.1 ← 1.4.0 diff Aug 6, 2022
updated 1.4.0 ← 1.3.4 diff Nov 22, 2021
updated 1.3.4 ← 1.3.3 diff Jun 24, 2020
updated 1.3.3 ← 1.3.2 diff Mar 5, 2020
updated 1.3.2 ← 1.3.1 diff Nov 15, 2019
updated 1.3.1 ← 1.3 diff Sep 20, 2019
updated 1.3 ← 1.2.2 diff Jan 6, 2019
updated 1.2.2 ← 1.2.1 diff Apr 20, 2018
updated 1.2.1 ← 1.2 diff Mar 19, 2018
new 1.2 Mar 27, 2016