Greg: Regression Helper Functions

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 add-ons 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.

Version: 1.4.1
Depends: forestplot, Gmisc (≥ 1.0.3)
Imports: Hmisc, stringr, rms, sandwich, stats, nlme, methods, htmlTable (≥ 2.0.0), magrittr, knitr, Epi, utils, graphics, grDevices
Suggests: boot, testthat, cmprsk, survival, dplyr, ggplot2, parallel, rmarkdown, rmeta
Published: 2022-08-07
Author: Max Gordon [aut, cre], Reinhard Seifert [aut] (Author of original plotHR)
Maintainer: Max Gordon <max at gforge.se>
License: GPL (≥ 3)
URL: http://gforge.se
NeedsCompilation: no
Materials: README NEWS
CRAN checks: Greg results

Documentation:

Reference manual: Greg.pdf
Vignettes: Print crude and adjusted
How to use the timeSplitter

Downloads:

Package source: Greg_1.4.1.tar.gz
Windows binaries: r-devel: Greg_1.4.1.zip, r-release: Greg_1.4.1.zip, r-oldrel: Greg_1.4.1.zip
macOS binaries: r-release (arm64): Greg_1.4.1.tgz, r-oldrel (arm64): Greg_1.4.1.tgz, r-release (x86_64): Greg_1.4.1.tgz, r-oldrel (x86_64): Greg_1.4.1.tgz
Old sources: Greg archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=Greg to link to this page.