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]
All associated links for this package
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 18 Feb. 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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

clustMixType  
k-Prototypes Clustering for Mixed Variable-Type Data
Functions to perform k-prototypes partitioning clustering for mixed variable-type data according to ...
Download / Learn more Package Citations See dependency  
RobustBayesianCopas  
Robust Bayesian Copas Selection Model
Fits the robust Bayesian Copas (RBC) selection model of Bai et al. (2020) for cor ...
Download / Learn more Package Citations See dependency  
readxlsb  
Read 'Excel' Binary (.xlsb) Workbooks
Import data from 'Excel' binary (.xlsb) workbooks into R. ...
Download / Learn more Package Citations See dependency  
fclust  
Fuzzy Clustering
Algorithms for fuzzy clustering, cluster validity indices and plots for cluster validity and visuali ...
Download / Learn more Package Citations See dependency  
OptGS  
Near-Optimal Group-Sequential Designs for Continuous Outcomes
Optimal group-sequential designs minimise some function of the expected and maximum sample size whil ...
Download / Learn more Package Citations See dependency  
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  

23,712

R Packages

205,795

Dependencies

64,332

Author Associations

23,631

Publication Badges

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