Regression Modeling Strategies
Overview
Regression modeling, testing, estimation, validation, graphics, prediction, and typesetting by storing enhanced model design attributes in the fit. 'rms' is a collection of functions that assist with and streamline modeling. It also contains functions for binary and ordinal logistic regression models, ordinal models for continuous Y with a variety of distribution families, and the Buckley-James multiple regression model for right-censored responses, and implements penalized maximum likelihood estimation for logistic and ordinary linear models. 'rms' works with almost any regression model, but it was especially written to work with binary or ordinal regression models, Cox regression, accelerated failure time models, ordinary linear models, the Buckley-James model, generalized least squares for serially or spatially correlated observations, generalized linear models, and quantile regression.
- infoMxop: look for intercepts attribute in info if info matrix is not a 3-element list; don't look for a, b, ab if same pertains
- lrm.fit, : add intercepts attribute to info.matrix if not a 3-element list; fixes bug with vcov when transx=TRUE
- lrtest: corrected to use fit$stats['d.f.'] first
- Help file importexport.Rd: changed possible values of type argument to match survival 3.8-5
- prModFit as used by print.Gls: removed quote=FALSE passed to print as nlme::print correlation summary does this already; cleaned up some code; see https://github.com/harrelfe/rms/issues/166
- ordParallel: fixed issue with wrong argument to GiniMd; see https://github.com/harrelfe/rms/issues/168
- vcov.orm (also serves lrm): fixed issue with not utilizing full covariance matrix produced by robcov etc.; see https://github.com/harrelfe/rms/issues/167
- inst/tests/ordinal-robcov.r: new test for above
- inst/tests/Survival-orm-km.r: new test for agreement of ordinal and Kaplan-Meier survival estimates
- Ocens2ord: added return value named ranges containing 3 vectors of ranges (overall, uncensored points, censored points), and if there is right censoring, an object rt_cens_beyond with elements newlevel and range
- orm.fit, orm: also returns rt_cens_beyond
- Survival.orm: reworked logic for right censoring to guarantee agreement with survival::survfit when there are no covariates
From NEWS in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 105 (1 internal)
- Examples that run
- 65%57 run in a plain check · 28 never run · 3 hold no code
- Exported functions with examples
- 92%
- Documented parameters
- 82%
- Return-value docs
- 92%
- Help pages citing references
- 27%
Also includes 1 demo script (run with demo())
Downloads
Repository
- PRs merged (all time)
- 74%
- Median days to close, 50 most recently updated closed issues
- 98
- Median days to close, 50 most recently updated closed PRs
- 6
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/harrelfe/rms on 2026-10-11.
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-04-18Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: .claude, CLAUDE.mdNamed in .gitignore: .claude
Dependencies
Installing rms adds 60 packages (31 with compiled code, 65 MB of source tarballs). Heaviest: stringi 11 MB, TH.data 8.2 MB, ggplot2 6.0 MB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 19 more dependents and 42 packages that suggest it on CRAN ↗
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 8.1-1Latest
- 8.1-0
- RR 4.5.0 released · 2025-04-11
- 8.0-02025-04-04 · diff ↗ ·
added 6 exports
intCalibration, Ocens2ord, Ocens2Surv, Olinks, ordESS, ordParallel - 7.0-0
- 6.9-0
- 6.8-22024-08-23 · diff ↗
- 6.8-12024-05-27 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 6.8-0
- 6.7-1
- 6.7-0
- RR 4.3.0 released · 2023-04-21
- 6.6-0
- 6.5-02023-02-09 · diff ↗
Show 72 earlier eventsHide 72 earlier events
- 6.4-12023-01-23 · diff ↗
- 6.4-02023-01-15 · diff ↗
- 6.3-0
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 6.2-0
- 6.1-12021-02-06 · diff ↗
- 6.1-0
- 6.0-12020-07-18 · diff ↗ ·
removed 13 exports
blrm, blrmStats, compareBmods, distSym, HPDint, pdensityContour, plot.rmsb, PostF, selectedQr, stanCompile, stanDx, stanDxplot, stanGetadded 5 exports
Design, DesignAssign, modelData, predictrms, prModFit - 6.0-02020-06-04 · diff ↗ ·
added 16 exports
blrm, blrmStats, compareBmods, distSym, HPDint, pdensityContour, plot.contrast.rms, plot.rmsb, PostF, probabilityFamilies, selectedQr, stackMI, stanCompile, stanDx, stanDxplot, stanGet - RR 4.0.0 released · 2020-04-24
- 5.1-42019-11-17 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 5.1-3.12019-04-22 · diff ↗
- 5.1-3
- RR 3.5.0 released · 2018-04-23
- 5.1-22018-01-07 · diff ↗
- 5.1-12017-05-03 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 5.1-0
- 5.0-12016-12-08 · diff ↗
- 5.0-0
- RR 3.3.0 released · 2016-05-03
- 4.5-02016-04-04 · diff ↗
- 4.4-22016-02-21 · diff ↗
- 4.4-12015-12-21 · diff ↗
- 4.4-0
- 4.3-12015-05-01 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 4.3-0
- 4.2-12014-09-19 · diff ↗
- 4.2-0
- RR 3.1.0 released · 2014-04-10
- 4.1-3
- 4.1-22014-02-28 · diff ↗
- 4.1-1
- 4.1-02013-12-05 · diff ↗
- 4.0-02013-07-11 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 3.6-32013-01-11 · diff ↗
- 3.6-22012-12-11 · diff ↗
- 3.6-02012-10-30 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 3.5-02012-03-24 · diff ↗
- 3.4-02012-01-17 · diff ↗
- 3.3-32011-12-12 · diff ↗
- 3.3-22011-11-10 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 3.3-12011-06-01 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 3.3-02011-02-28 · diff ↗
- 3.2-02011-02-17 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 3.1-02010-09-13 · diff ↗
- 3.0.32014-03-02 · diff ↗
- 3.0.22013-07-10 · diff ↗ ·
removed 1 export
pattern:^([^.]|\\..+\\.)added 87 exports
asis, bj, bjplot, bootBCa, bootcov, bootplot, bplot, calibrate, cph, catg, combineRelatedPredictors, confplot, contrast, coxphFit, cr.setup, datadist, effective.df, ExProb, fastbw, formatNP, gendata, gIndex, GiniMd, Glm, Gls, groupkm, Hazard, hazard.ratio.plot, histdensity, %ia% and 57 more - 3.0-02010-05-16 · diff ↗
- 2.15.32013-01-11 · diff ↗
- 2.14.12011-12-10 · diff ↗
- 2.14.02011-10-26 · diff ↗
- 2.13.02011-03-24 · diff ↗
- 2.12.22011-01-17 · diff ↗
- 2.12.0
- 2.11.12010-05-16 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 2.11.02010-02-23 · diff ↗
- RR 2.10.0 released · 2009-10-26
- 2.10.02009-10-04 · diff ↗
- 2.2-02010-02-24 · diff ↗
- 2.1-02009-10-05 · diff ↗
- 2.0-22009-09-08
- RR 2.9.0 released · 2009-04-17
Package metadata
- First published
- 2009-09-08
- Total releases
- 67 / 17 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.4.0
- Download size
- 688 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rms")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.