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

Version: 2.0.2
Depends: Gmisc (≥ 1.0.3), forestplot, R (≥ 4.1.0)
Imports: broom, Epi, dplyr, glue, graphics, grDevices, htmlTable (≥ 2.0.0), Hmisc, knitr, methods, nlme, purrr, rlang, rms, sandwich, stats, stringr, tibble, tidyr, tidyselect, utils
Suggests: boot, testthat, cmprsk, survival, ggplot2, parallel, rmarkdown, rmeta, tidyverse
Published: 2024-01-29
DOI: 10.32614/CRAN.package.Greg
Author: Max Gordon [aut, cre], Reinhard Seifert [aut] (Author of original plotHR)
Maintainer: Max Gordon <max at gforge.se>
BugReports: https://github.com/gforge/Greg/issues
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_2.0.2.tar.gz
Windows binaries: r-devel: Greg_2.0.2.zip, r-release: Greg_2.0.2.zip, r-oldrel: Greg_2.0.2.zip
macOS binaries: r-release (arm64): Greg_2.0.2.tgz, r-oldrel (arm64): Greg_2.0.2.tgz, r-release (x86_64): Greg_2.0.2.tgz, r-oldrel (x86_64): Greg_2.0.2.tgz
Old sources: Greg archive

Reverse dependencies:

Reverse suggests: forestplot

Linking:

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