Other packages > Find by keyword >

Greg  

Regression Helper Functions
View on CRAN: Click here


Download and install Greg package within the R console
Install from CRAN:
install.packages("Greg")

Install from Github:
library("remotes")
install_github("cran/Greg")

Install by package version:
library("remotes")
install_version("Greg", "2.0.3")



Attach the package and use:
library("Greg")
Maintained by
Max Gordon
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-03-28
Latest Update: 2025-09-03
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.
How to cite:
Max Gordon (2016). Greg: Regression Helper Functions. R package version 2.0.3, https://cran.r-project.org/web/packages/Greg. Accessed 16 Jul. 2026.
Previous versions and publish date:
1.2.1 (2018-03-20 19:11), 1.2.2 (2018-04-21 22:12), 1.2 (2016-03-28 23:25), 1.3.1 (2019-09-21 17:10), 1.3.2 (2019-11-16 15:10), 1.3.3 (2020-03-06 18:00), 1.3.4 (2020-06-25 06:30), 1.3 (2019-01-07 01:00), 1.4.0 (2021-11-23 21:20), 1.4.1 (2022-08-07 23:10), 2.0.0 (2022-10-13 23:52), 2.0.1 (2022-11-16 10:50), 2.0.2 (2024-01-29 14:30), (2026-07-09 08:06)
Other packages that cited Greg R package
View Greg citation profile
Other R packages that Greg depends, imports, suggests or enhances
Complete documentation for Greg
Functions, R codes and Examples using the Greg R package
Some associated functions: GetCoefAndCI . Greg-package . SimpleRmsAnova . addNonlinearity . bread.ols . caDescribeOpts . confint.ols . confint_robust . estfun.ols . forestplotCombineRegrObj . forestplotRegrObj . getCrudeAndAdjustedModelData . getModelData4Forestplot . hatvalues.ols . isFitFn . model.matrix.ols . plotHR . prCaAddRefAndStat . prCaAddReference . prCaAddUserReferences . prCaGetImputationCols . prCaGetRowname . prCaGetVnStats . prCaPrepareCrudeAndAdjusted . prCaReorder . prCaReorderReferenceDescribe . prCaSelectAndOrderVars . prCaSetRownames . prClearPCAclass . prConvertShowMissing . prEnvModelCall . prExtractOutcomeFromModel . prFindRownameMatches . prGetModelData . prGetModelVariables . prGetStatistics . prMapVariable2Name . prNlChooseDf . prPhConfIntPlot . prPhDensityPlot . prPhEstimate . prPhNewData . prPhRugPlot . prPrintCAstring . printCrudeAndAdjustedModel . robcov_alt . tidy.rms . timeSplitter . 
Some associated R codes: Greg.R . addNonlinearity.R . confint_robust.R . forestplotCombineRegrObj.R . forestplotRegrObj.R . forestplotRegrObj_prForestplotPrep.R . forestplotRegrObj_prGetModelDefaults4forestplot.R . getCrudeAndAdjustedModelData.R . getCrudeAndAdjustedModelData.rms.R . getModelData4Forestplot.R . isFitCoxPH.R . isFitLogit.R . plotHR.R . printCrudeAndAdjustedModel.R . private_functions.R . private_getCaA.R . private_plotHR.R . private_printCaA.R . rms_SandwichAddon.R . simpleRmsAnova.R . tidy.rms.R . timeSplitter.R .  Full Greg package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

bbdetection  
Identification of Bull and Bear States of the Market
Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan ...
Download / Learn more Package Citations See dependency  
wordnet  
WordNet Interface
An interface to WordNet using the Jawbone Java API to WordNet. WordNet (< ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
schoolmath  
Functions and Datasets for Math Used in School
Contains functions and datasets for math taught in school. A main focus is set to prime-calculation. ...
Download / Learn more Package Citations See dependency  
tibble  
Simple Data Frames
Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the tradi ...
Download / Learn more Package Citations See dependency  
tarchetypes  
Archetypes for Targets
Function-oriented Make-like declarative pipelines for Statistics and data science are supported in t ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA