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.2")



Attach the package and use:
library("Greg")
Maintained by
Max Gordon
[Scholar Profile | Author Map]
First Published: 2016-03-28
Latest Update: 2022-11-16
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.2, https://cran.r-project.org/web/packages/Greg. Accessed 30 Apr. 2025.
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)
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
03/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/28Downloads for Greg10203040506070TrendBars

Today's Hot Picks in Authors and Packages

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  
schrute  
The Entire Transcript from the Office in Tidy Format
The complete scripts from the American version of the Office television show in tibble format. Use ...
Download / Learn more Package Citations See dependency  
crimeutils  
A Comprehensive Set of Functions to Clean, Analyze, and Present Crime Data
A collection of functions that make it easier to understand crime (or other) data, and assist other ...
Download / Learn more Package Citations See dependency  
micEconAids  
Demand Analysis with the Almost Ideal Demand System (AIDS)
Functions and tools for analysing consumer demand with the Almost Ideal Demand System (AIDS) sugg ...
Download / Learn more Package Citations See dependency  
GRAPE  
Gene-Ranking Analysis of Pathway Expression
Gene-Ranking Analysis of Pathway Expression (GRAPE) is a tool for summarizing the consensus behavio ...
Download / Learn more Package Citations See dependency  
eyetrackingR  
Eye-Tracking Data Analysis
Addresses tasks along the pipeline from raw data to analysis and visualization for eye-tracking dat ...
Download / Learn more Package Citations See dependency  

24,142

R Packages

207,311

Dependencies

65,176

Author Associations

24,143

Publication Badges

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