Learn R Programming

⚠️There's a newer version (6.8-2) of this package.Take me there.

rms

Regression Modeling Strategies

Current Goals

  • Implement estimation and prediction methods for the Bayesian partial proportional odds model blrm function

Web Sites

To Do

  • Fix survplot so that explicitly named adjust-to values are still in subtitles. See tests/cph2.s.
  • Fix fit.mult.impute to average sigma^2 and then take square root, instead of averaging sigma
  • Implement user-added distributions in psm - see https://github.com/harrelfe/rms/issues/41

Copy Link

Version

Install

install.packages('rms')

Monthly Downloads

26,057

Version

6.8-0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

March 11th, 2024

Functions in rms (6.8-0)

anova.rms

Analysis of Variance (Wald, LR, and F Statistics)
bj

Buckley-James Multiple Regression Model
Rq

rms Package Interface to quantreg Package
Xcontrast

Xcontrast
fastbw

Fast Backward Variable Selection
Glm

rms Version of glm
gIndex

Calculate Total and Partial g-indexes for an rms Fit
Gls

Fit Linear Model Using Generalized Least Squares
gendata

Generate Data Frame with Predictor Combinations
bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
importedexported

Exported Functions That Were Imported From Other Packages
ggplot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using ggplot2
cr.setup

Continuation Ratio Ordinal Logistic Setup
bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
latex.cph

LaTeX Representation of a Fitted Cox Model
latexrms

LaTeX Representation of a Fitted Model
ExProb

Function Generator For Exceedance Probabilities
lrm

Logistic Regression Model
orm

Ordinal Regression Model
matinv

Total and Partial Matrix Inversion using Gauss-Jordan Sweep Operator
datadist

Distribution Summaries for Predictor Variables
Function

Compose an S Function to Compute X beta from a Fit
nomogram

Draw a Nomogram Representing a Regression Fit
pentrace

Trace AIC and BIC vs. Penalty
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
npsurv

Nonparametric Survival Estimates for Censored Data
predictrms

Predicted Values from Model Fit
contrast.rms

General Contrasts of Regression Coefficients
ols

Linear Model Estimation Using Ordinary Least Squares
plot.contrast.rms

plot.contrast.rms
print.Glm

print.glm
orm.fit

Ordinal Regression Model Fitter
residuals.Glm

residuals.Glm
cph

Cox Proportional Hazards Model and Extensions
residuals.cph

Residuals for a cph Fit
ie.setup

Intervening Event Setup
predab.resample

Predictive Ability using Resampling
impactPO

Impact of Proportional Odds Assumpton
poma

Examine proportional odds and parallelism assumptions of `orm` and `lrm` model fits.
plot.rexVar

plot.rexVar
pphsm

Parametric Proportional Hazards form of AFT Models
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
rmsMisc

Miscellaneous Design Attributes and Utility Functions
print.ols

Print ols
rexVar

rexVar
print.cph

Print cph Results
rms-internal

Internal rms functions
print.rexVar

print.rexVar
robcov

Robust Covariance Matrix Estimates
residuals.lrm

Residuals from an lrm or orm Fit
prmiInfo

prmiInfo
processMI

processMI
specs.rms

rms Specifications for Models
print.impactPO

Print Result from impactPO
sensuc

Sensitivity to Unmeasured Covariables
survest.cph

Cox Survival Estimates
residuals.ols

Residuals for ols
summary.rms

Summary of Effects in Model
survfit.cph

Cox Predicted Survival
val.prob

Validate Predicted Probabilities
survest.psm

Parametric Survival Estimates
survplot

Plot Survival Curves and Hazard Functions
vif

Variance Inflation Factors
val.surv

Validate Predicted Probabilities Against Observed Survival Times
LRupdate

LRupdate
rmsOverview

Overview of rms Package
Predict

Compute Predicted Values and Confidence Limits
bplot

3-D Plots Showing Effects of Two Continuous Predictors in a Regression Model Fit
which.influence

Which Observations are Influential
setPb

Progress Bar for Simulations
calibrate

Resampling Model Calibration
validate

Resampling Validation of a Fitted Model's Indexes of Fit
groupkm

Kaplan-Meier Estimates vs. a Continuous Variable
hazard.ratio.plot

Hazard Ratio Plot
lrm.fit

Logistic Model Fitter
lrm.fit.bare

lrm.fit.bare
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
validate.Rq

Validation of a Quantile Regression Model
plotp.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using plotly
processMI.fit.mult.impute

processMI.fit.mult.impute
psm

Parametric Survival Model
rms

rms Methods and Generic Functions
validate.cph

Validation of a Fitted Cox or Parametric Survival Model's Indexes of Fit
validate.lrm

Resampling Validation of a Logistic or Ordinal Regression Model
rms.trans

rms Special Transformation Functions
validate.ols

Validation of an Ordinary Linear Model
validate.rpart

Dxy and Mean Squared Error by Cross-validating a Tree Sequence