Skip to content

Regression Modeling Strategies

67packages dependsuggested by 42
450.5Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 8.1-1
  • 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

CRAN checks
13OK
Slowest check: 7.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 8.1-1
READMEYes · 80 wordsVignettesNoNEWSYes · 100% structured · mentions 8.1-1Citation fileNoWebsiteYes
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

450.5K
CRAN downloads in the past year
Rank #577 · ~1.2K/day · ~37.5K/mo
Daily download trend is not available in this view yet.
29.9K30 days
113.3K90 days
450.5K1 year
Compare downloads with other packages →
Also on7.7K r2u139 autocran14.1K conda_forge255 c2d4u

Repository

201Stars
55Forks
62Open issues
2Open PRs
0Releases
986Commits
23Commit identities
986 commits · Last activity 2026-10-16 · +1% stars, 30d · Default branch at 8.2-0, ahead of CRAN 8.1-1 (checked 2026-10-11)
Responsiveness
How these are sampled
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

2025-09-12 · 1872026-10-09 · 201
PracticesBeta

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.

Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-04-18
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

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.

Depends (2)
R >= 4.4.0Hmisc
Imports (19)
LinkingTo (0)
none
Suggests (10)
Enhances (0)
none

People & History

People (1)
Author, Maintainer since 2.0-2 (2009)
Listed in earlier versions (1)
Harrell Jr
no longer listed · 6.8-2 to 8.1-1
Releases (67)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 8.1-1Latest
    record
    2026-02-18 · current release · diff ↗
  • 8.1-0
    record
    2025-10-14 · diff ↗ ·
    added 1 export
    adapt_orm
  • R
    R 4.5.0 released · 2025-04-11
  • 8.0-0
    record
    2025-04-04 · diff ↗ ·
    added 6 exports
    intCalibration, Ocens2ord, Ocens2Surv, Olinks, ordESS, ordParallel
  • 7.0-0
    record
    2025-01-17 · diff ↗ ·
    added 3 exports
    infoMxop, Ocens, plotIntercepts
  • 6.9-0
    record
    2024-12-12 · diff ↗ ·
    removed 1 export
    lrm.fit.bare
    added 1 export
    recode2integer
  • 6.8-2
    record
    2024-08-23 · diff ↗
  • 6.8-1
    record
    2024-05-27 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 6.8-0
    record
    2024-03-11 · diff ↗ ·
    added 1 export
    rexVar
  • 6.7-1
    record
    2023-09-12 · diff ↗ ·
    added 1 export
    Xcontrast
  • 6.7-0
    record
    2023-05-08 · diff ↗ ·
    added 2 exports
    LRupdate, prmiInfo
  • R
    R 4.3.0 released · 2023-04-21
  • 6.6-0
    record
    2023-04-09 · diff ↗ ·
    added 3 exports
    ggplot, processMI, Surv
  • 6.5-0
    record
    2023-02-09 · diff ↗
Show 72 earlier eventsHide 72 earlier events
  • 6.4-1
    record
    2023-01-23 · diff ↗
  • 6.4-0
    record
    2023-01-15 · diff ↗
  • 6.3-0
    record
    2022-04-22 · diff ↗ ·
    added 1 export
    impactPO
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 6.2-0
    record
    2021-03-18 · diff ↗ ·
    added 1 export
    gTrans
  • 6.1-1
    record
    2021-02-06 · diff ↗
  • 6.1-0
    record
    2020-11-29 · diff ↗ ·
    removed 1 export
    stackMI
    added 2 exports
    lrm.fit.bare, poma
  • 6.0-1
    record
    2020-07-18 · diff ↗ ·
    removed 13 exports
    blrm, blrmStats, compareBmods, distSym, HPDint, pdensityContour, plot.rmsb, PostF, selectedQr, stanCompile, stanDx, stanDxplot, stanGet
    added 5 exports
    Design, DesignAssign, modelData, predictrms, prModFit
  • 6.0-0
    record
    2020-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
  • R
    R 4.0.0 released · 2020-04-24
  • 5.1-4
    record
    2019-11-17 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 5.1-3.1
    record
    2019-04-22 · diff ↗
  • 5.1-3
    record
    2019-01-27 · diff ↗ ·
    removed 1 export
    plotp
  • R
    R 3.5.0 released · 2018-04-23
  • 5.1-2
    record
    2018-01-07 · diff ↗
  • 5.1-1
    record
    2017-05-03 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 5.1-0
    record
    2017-01-01 · diff ↗ ·
    added 1 export
    plotp
  • 5.0-1
    record
    2016-12-08 · diff ↗
  • 5.0-0
    record
    2016-11-03 · diff ↗ ·
    removed 2 exports
    GiniMd, reVector
    added 2 exports
    reListclean, survplotp
  • R
    R 3.3.0 released · 2016-05-03
  • 4.5-0
    record
    2016-04-04 · diff ↗
  • 4.4-2
    record
    2016-02-21 · diff ↗
  • 4.4-1
    record
    2015-12-21 · diff ↗
  • 4.4-0
    record
    2015-09-28 · diff ↗ ·
    added 1 export
    dxy.cens
  • 4.3-1
    record
    2015-05-01 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 4.3-0
    record
    2015-02-16 · diff ↗ ·
    added 2 exports
    annotateAnova, plotmathAnova
  • 4.2-1
    record
    2014-09-19 · diff ↗
  • 4.2-0
    record
    2014-04-13 · diff ↗ ·
    removed 1 export
    survfit.formula
    added 1 export
    npsurv
  • R
    R 3.1.0 released · 2014-04-10
  • 4.1-3
    record
    2014-03-02 · diff ↗ ·
    removed 1 export
    num.intercepts
    added 1 export
    survfit.formula
  • 4.1-2
    record
    2014-02-28 · diff ↗
  • 4.1-1
    record
    2014-01-22 · diff ↗ ·
    removed 1 export
    Srv
  • 4.1-0
    record
    2013-12-05 · diff ↗
  • 4.0-0
    record
    2013-07-11 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 3.6-3
    record
    2013-01-11 · diff ↗
  • 3.6-2
    record
    2012-12-11 · diff ↗
  • 3.6-0
    record
    2012-10-30 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 3.5-0
    record
    2012-03-24 · diff ↗
  • 3.4-0
    record
    2012-01-17 · diff ↗
  • 3.3-3
    record
    2011-12-12 · diff ↗
  • 3.3-2
    record
    2011-11-10 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 3.3-1
    record
    2011-06-01 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 3.3-0
    record
    2011-02-28 · diff ↗
  • 3.2-0
    record
    2011-02-17 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • 3.1-0
    record
    2010-09-13 · diff ↗
  • 3.0.3
    record
    2014-03-02 · diff ↗
  • 3.0.2
    record
    2013-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-0
    record
    2010-05-16 · diff ↗
  • 2.15.3
    record
    2013-01-11 · diff ↗
  • 2.14.1
    record
    2011-12-10 · diff ↗
  • 2.14.0
    record
    2011-10-26 · diff ↗
  • 2.13.0
    record
    2011-03-24 · diff ↗
  • 2.12.2
    record
    2011-01-17 · diff ↗
  • 2.12.0
    record
    2010-09-12 · diff ↗ ·
    added 1 export
    pattern:^([^.]|\\..+\\.)
  • 2.11.1
    record
    2010-05-16 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • 2.11.0
    record
    2010-02-23 · diff ↗
  • R
    R 2.10.0 released · 2009-10-26
  • 2.10.0
    record
    2009-10-04 · diff ↗
  • 2.2-0
    record
    2010-02-24 · diff ↗
  • 2.1-0
    record
    2009-10-05 · diff ↗
  • 2.0-2
    record
    2009-09-08
  • R
    R 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")
Harrell Jr, F. E. (2026). rms: Regression Modeling Strategies (Version 8.1-1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for rms version 8.1-1 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy