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 06 Mar. 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)
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

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,376

Author Associations

26,265

Publication Badges

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