rmsMD: Output Results from 'rms' Models for Medical Journals

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.

Version: 1.0.0
Imports: rms, ggplot2, rlang, cowplot
Suggests: knitr, rmarkdown, devtools, officer, flextable, dplyr, testthat (≥ 3.0.0), vdiffr
Published: 2025-06-17
DOI: 10.32614/CRAN.package.rmsMD
Author: Samuel Tingle ORCID iD [aut, cre], Georgios Kourounis ORCID iD [aut]
Maintainer: Samuel Tingle <samjamestingle at gmail.com>
BugReports: https://github.com/rmsMD/rmsMD/issues/
License: MIT + file LICENSE
URL: https://rmsmd.github.io/rmsMD/
NeedsCompilation: no
Materials: README
CRAN checks: rmsMD results

Documentation:

Reference manual: rmsMD.pdf
Vignettes: Further_details_ggrmsMD (source, R code)
Further_details_modelsummary_rms (source, R code)
Standard_workflow_with_restricted_cubic_splines (source, R code)

Downloads:

Package source: rmsMD_1.0.0.tar.gz
Windows binaries: r-devel: rmsMD_0.1.2.zip, r-release: rmsMD_0.1.2.zip, r-oldrel: rmsMD_0.1.2.zip
macOS binaries: r-release (arm64): rmsMD_1.0.0.tgz, r-oldrel (arm64): rmsMD_1.0.0.tgz, r-release (x86_64): rmsMD_0.1.2.tgz, r-oldrel (x86_64): rmsMD_0.1.2.tgz
Old sources: rmsMD archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rmsMD to link to this page.