Learn R Programming

⚠️There's a newer version (8.0-0) 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,751

Version

6.1-1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Frank Harrell Jr

Last Published

February 6th, 2021

Functions in rms (6.1-1)

Glm

rms Version of glm
ExProb

Function Generator For Exceedance Probabilities
bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
Function

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

Compute Predicted Values and Confidence Limits
ggplot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using ggplot2
anova.rms

Analysis of Variance (Wald and F Statistics)
Rq

rms Package Interface to quantreg Package
Gls

Fit Linear Model Using Generalized Least Squares
gendata

Generate Data Frame with Predictor Combinations
bj

Buckley-James Multiple Regression Model
contrast.rms

General Contrasts of Regression Coefficients
cr.setup

Continuation Ratio Ordinal Logistic Setup
survest.cph

Cox Survival Estimates
psm

Parametric Survival Model
cph

Cox Proportional Hazards Model and Extensions
poma

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

Plot Effects of Variables Estimated by a Regression Model Fit
fastbw

Fast Backward Variable Selection
datadist

Distribution Summaries for Predictor Variables
matinv

Total and Partial Matrix Inversion using Gauss-Jordan Sweep Operator
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
bplot

3-D Plots Showing Effects of Two Continuous Predictors in a Regression Model Fit
ols

Linear Model Estimation Using Ordinary Least Squares
calibrate

Resampling Model Calibration
groupkm

Kaplan-Meier Estimates vs. a Continuous Variable
gIndex

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

LaTeX Representation of a Fitted Model
npsurv

Nonparametric Survival Estimates for Censored Data
hazard.ratio.plot

Hazard Ratio Plot
plotp.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using plotly
predab.resample

Predictive Ability using Resampling
print.Glm

print.glm
orm.fit

Ordinal Regression Model Fitter
latex.cph

LaTeX Representation of a Fitted Cox Model
nomogram

Draw a Nomogram Representing a Regression Fit
lrm

Logistic Regression Model
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
residuals.cph

Residuals for a cph Fit
pphsm

Parametric Proportional Hazards form of AFT Models
lrm.fit.bare

lrm.fit.bare
survfit.cph

Cox Predicted Survival
survplot

Plot Survival Curves and Hazard Functions
print.ols

Print ols
specs.rms

rms Specifications for Models
lrm.fit

Logistic Model Fitter
validate.rpart

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

Residuals for ols
predictrms

Predicted Values from Model Fit
plot.contrast.rms

plot.contrast.rms
ie.setup

Intervening Event Setup
pentrace

Trace AIC and BIC vs. Penalty
vif

Variance Inflation Factors
residuals.lrm

Residuals from an lrm or orm Fit
validate.lrm

Resampling Validation of a Logistic or Ordinal Regression Model
validate.ols

Validation of an Ordinary Linear Model
summary.rms

Summary of Effects in Model
rms.trans

rms Special Transformation Functions
rms-internal

Internal rms functions
rmsOverview

Overview of rms Package
setPb

Progress Bar for Simulations
orm

Ordinal Regression Model
print.cph

Print cph Results
validate.cph

Validation of a Fitted Cox or Parametric Survival Model's Indexes of Fit
rms

rms Methods and Generic Functions
validate

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

Miscellaneous Design Attributes and Utility Functions
validate.Rq

Validation of a Quantile Regression Model
sensuc

Sensitivity to Unmeasured Covariables
survest.psm

Parametric Survival Estimates
which.influence

Which Observations are Influential
val.prob

Validate Predicted Probabilities
robcov

Robust Covariance Matrix Estimates
val.surv

Validate Predicted Probabilities Against Observed Survival Times