Output Results from 'rms' Models for Medical Journals
Overview
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.
- Added package citation information.
- Added an error message when datadist does not contain all model fit variables.
- Added a
NEWS.mdfile to track changes to the package.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 3
- Examples that run
- 0%2 hold no code
- Exported functions with examples
- 67%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/rmsmd/rmsmd on 2026-10-18.
GitHub Pages site last deployed 2025-11-11 · The repository has a site deploy workflow
pkgdown site last built 2025-11-11
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.1Latest
- 1.0.0
- RR 4.5.0 released · 2025-04-11
- 0.1.22025-03-07 · diff ↗
- 0.1.12025-03-03
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2025-03-03
- Total releases
- 4 / 1 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 563 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("rmsMD")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1093/postmj/qgaf183.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.