Package: Greg 2.0.2
Greg: Regression Helper Functions
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.
Authors:
Greg_2.0.2.tar.gz
Greg_2.0.2.zip(r-4.5)Greg_2.0.2.zip(r-4.4)
Greg_2.0.2.tgz(r-4.4-any)
Greg_2.0.2.tar.gz(r-4.5-noble)Greg_2.0.2.tar.gz(r-4.4-noble)
Greg_2.0.2.tgz(r-4.4-emscripten)
Greg.pdf |Greg.html✨
Greg/json (API)
NEWS
# Install 'Greg' in R: |
install.packages('Greg', repos = c('https://gforge.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gforge/greg/issues
Last updated 10 months agofrom:f21fdab583. Checks:OK: 3 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 26 2024 |
R-4.5-win | NOTE | Oct 26 2024 |
R-4.5-linux | NOTE | Oct 26 2024 |
R-4.4-win | OK | Oct 26 2024 |
R-4.4-mac | OK | Oct 26 2024 |
Exports:addNonlinearitycaDescribeOptsconfint_robustforestplotCombineRegrObjforestplotRegrObjfpBoxSizegetCrudeAndAdjustedModelDataisFitCoxPHisFitLogitplotHRprintCrudeAndAdjustedModelrobcov_altsimpleRmsAnovatimeSplitter
Dependencies:abindbackportsbase64encbroombslibcachemcheckmatecliclustercmprskcodetoolscolorspacecpp11data.tabledigestdplyrEpietmevaluatefansifarverfastmapfontawesomeforeignforestplotFormulafsgenericsggplot2glueGmiscgridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelubridatemagrittrMASSMatrixMatrixModelsmemoisemgcvmimemultcompmunsellmvtnormnlmennetnumDerivpillarpkgconfigplyrpolsplinepurrrquantregR6rappdirsRColorBrewerRcppRcppArmadillorlangrmarkdownrmsrpartrstudioapisandwichsassscalesSparseMstringistringrsurvivalTH.datatibbletidyrtidyselecttimechangetinytexutf8vctrsviridisviridisLitewithrxfunXMLyamlzoo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Regression Helper Functions | Greg-package |
Add a nonlinear function to the model | addNonlinearity addNonlinearity.negbin |
A function for gathering all the description options | caDescribeOpts |
The confint function adapted for vcovHC | confint_robust |
A 'confint' function for the 'ols' | confint.ols |
Compares different scores in different regression objects. | forestplotCombineRegrObj |
Forest plot for multiple models | forestplotRegrObj forestplotRegrObj.coxph forestplotRegrObj.default forestplotRegrObj.glm forestplotRegrObj.list forestplotRegrObj.lm forestplotRegrObj.lrm fpBoxSize |
Functions for checking regression type | isFitCoxPH isFitLogit |
Plot a spline in a Cox regression model | plot.plotHR plotHR print.plotHR |
Robust covariance matrix based upon the 'sandwich'-package | robcov_alt |
Tidy a(n) rms model object | tidy.rms |
A function for splitting a time according to time periods | timeSplitter |