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

27,322

Version

6.0-1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

July 18th, 2020

Functions in rms (6.0-1)

anova.rms

Analysis of Variance (Wald and F Statistics)
bj

Buckley-James Multiple Regression Model
bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
Predict

Compute Predicted Values and Confidence Limits
Rq

rms Package Interface to quantreg Package
Glm

rms Version of glm
bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
bplot

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

Function Generator For Exceedance Probabilities
calibrate

Resampling Model Calibration
cph

Cox Proportional Hazards Model and Extensions
Gls

Fit Linear Model Using Generalized Least Squares
ggplot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using ggplot2
fastbw

Fast Backward Variable Selection
contrast.rms

General Contrasts of Regression Coefficients
gendata

Generate Data Frame with Predictor Combinations
Function

Compose an S Function to Compute X beta from a Fit
cr.setup

Continuation Ratio Ordinal Logistic Setup
latexrms

LaTeX Representation of a Fitted Model
lrm

Logistic Regression Model
gIndex

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

Kaplan-Meier Estimates vs. a Continuous Variable
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
matinv

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

Logistic Model Fitter
ie.setup

Intervening Event Setup
datadist

Distribution Summaries for Predictor Variables
latex.cph

LaTeX Representation of a Fitted Cox Model
hazard.ratio.plot

Hazard Ratio Plot
nomogram

Draw a Nomogram Representing a Regression Fit
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
plot.contrast.rms

plot.contrast.rms
npsurv

Nonparametric Survival Estimates for Censored Data
summary.rms

Summary of Effects in Model
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
rmsMisc

Miscellaneous Design Attributes and Utility Functions
predictrms

Predicted Values from Model Fit
plotp.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using plotly
survfit.cph

Cox Predicted Survival
survest.psm

Parametric Survival Estimates
survest.cph

Cox Survival Estimates
validate.rpart

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

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

Robust Covariance Matrix Estimates
val.surv

Validate Predicted Probabilities Against Observed Survival Times
orm.fit

Ordinal Regression Model Fitter
pphsm

Parametric Proportional Hazards form of AFT Models
vif

Variance Inflation Factors
print.Glm

print.glm
predab.resample

Predictive Ability using Resampling
rms

rms Methods and Generic Functions
print.ols

Print ols
print.cph

Print cph Results
rms.trans

rms Special Transformation Functions
orm

Ordinal Regression Model
ols

Linear Model Estimation Using Ordinary Least Squares
pentrace

Trace AIC and BIC vs. Penalty
stackMI

Bayesian Model Fitting and Stacking for Multiple Imputation
validate.cph

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

Validation of a Quantile Regression Model
specs.rms

rms Specifications for Models
psm

Parametric Survival Model
setPb

Progress Bar for Simulations
residuals.cph

Residuals for a cph Fit
residuals.ols

Residuals for ols
rms-internal

Internal rms functions
residuals.lrm

Residuals from an lrm or orm Fit
val.prob

Validate Predicted Probabilities
survplot

Plot Survival Curves and Hazard Functions
validate.ols

Validation of an Ordinary Linear Model
which.influence

Which Observations are Influential
validate.lrm

Resampling Validation of a Logistic or Ordinal Regression Model
sensuc

Sensitivity to Unmeasured Covariables
rmsOverview

Overview of rms Package