Provides streamlined functions for summarising and visualising regression models fitted with the 'rms' package, in the preferred format for medical journals. The 'modelsummary_rms()' function produces concise summaries for linear, logistic, and Cox regression models, including automatic handling of models containing restricted cubic spline (RCS) terms. The resulting summary dataframe can be easily converted into publication-ready documents using the 'flextable' and 'officer' packages. The 'ggrmsMD()' function creates clear and customizable plots ('ggplot2' objects) to visualise RCS terms.
Package details |
|
---|---|
Author | Samuel Tingle [aut, cre] (ORCID: <https://orcid.org/0000-0001-5529-7815>), Georgios Kourounis [aut] (ORCID: <https://orcid.org/0000-0002-1051-078X>) |
Maintainer | Samuel Tingle <samjamestingle@gmail.com> |
License | MIT + file LICENSE |
Version | 1.0.0 |
URL | https://rmsmd.github.io/rmsMD/ |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.