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

tactile  
New and Extended Plots, Methods, and Panel Functions for 'lattice'
Extensions to 'lattice', providing new high-level functions, methods for existing functions, panel f ...
Download / Learn more Package Citations See dependency  
PoisBinOrdNor  
Data Generation with Poisson, Binary, Ordinal and Normal Components
Generation of multiple count, binary, ordinal and normal variables simultaneously given the marginal ...
Download / Learn more Package Citations See dependency  
infotheo  
Information-Theoretic Measures
Implements various measures of information theory based on several entropy estimators. ...
Download / Learn more Package Citations See dependency  
ggblanket  
Simplify 'ggplot2' Visualisation
Simplify 'ggplot2' visualisation with 'ggblanket' wrapper functions. ...
Download / Learn more Package Citations See dependency  
poptrend  
Estimate Smooth and Linear Trends from Population Count Survey Data
Functions to estimate and plot smooth or linear population trends, or population indices, from anim ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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