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.

Package details

AuthorSamuel Tingle [aut, cre] (ORCID: <https://orcid.org/0000-0001-5529-7815>), Georgios Kourounis [aut] (ORCID: <https://orcid.org/0000-0002-1051-078X>)
MaintainerSamuel Tingle <samjamestingle@gmail.com>
LicenseMIT + file LICENSE
Version1.0.0
URL https://rmsmd.github.io/rmsMD/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("rmsMD")

Try the rmsMD package in your browser

Any scripts or data that you put into this service are public.

rmsMD documentation built on June 18, 2025, 1:08 a.m.