Learn R Programming

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

rms

Regression Modeling Strategies

Current Goals

  • A non-downward compatible change will occur in the next release of the package
  • The survfit.formula function (seen by the user as just survfit) for obtaining nonparametric survival estimates will be replaced by the npsurv function
  • The purpose is to avoid conflicts with the survival package
  • survfit.coxph has a new id option that generalizes individual=TRUE; need to change survfit.cph and survest.cph to use that

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

Copy Link

Version

Install

install.packages('rms')

Monthly Downloads

31,669

Version

4.5-0

License

GPL (>= 2)

Maintainer

Frank E Harrell Jr

Last Published

April 4th, 2016

Functions in rms (4.5-0)

latexrms

LaTeX Representation of a Fitted Model
lrm.fit

Logistic Model Fitter
calibrate

Resampling Model Calibration
latex.cph

LaTeX Representation of a Fitted Cox Model
ExProb

Function Generator For Exceedance Probabilities
Predict

Compute Predicted Values and Confidence Limits
contrast.rms

General Contrasts of Regression Coefficients
ols

Linear Model Estimation Using Ordinary Least Squares
cph

Cox Proportional Hazards Model and Extensions
robcov

Robust Covariance Matrix Estimates
predab.resample

Predictive Ability using Resampling
npsurv

Nonparametric Survival Estimates for Censored Data
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
ggplot.Predict

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

rms Version of glm
matinv

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

Buckley-James Multiple Regression Model
gendata

Generate Data Frame with Predictor Combinations
pphsm

Parametric Proportional Hazards form of AFT Models
setPb

Progress Bar for Simulations
validate

Resampling Validation of a Fitted Model's Indexes of Fit
validate.ols

Validation of an Ordinary Linear Model
anova.rms

Analysis of Variance (Wald and F Statistics)
sensuc

Sensitivity to Unmeasured Covariables
pentrace

Trace AIC and BIC vs. Penalty
rms-internal

Internal rms functions
summary.rms

Summary of Effects in Model
hazard.ratio.plot

Hazard Ratio Plot
nomogram

Draw a Nomogram Representing a Regression Fit
groupkm

Kaplan-Meier Estimates vs. a Continuous Variable
survplot

Plot Survival Curves and Hazard Functions
survest.cph

Cox Survival Estimates
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
Gls

Fit Linear Model Using Generalized Least Squares
datadist

Distribution Summaries for Predictor Variables
Rq

rms Package Interface to quantreg Package
orm

Ordinal Regression Model
predictrms

Predicted Values from Model Fit
ie.setup

Intervening Event Setup
print.ols

Print ols
rmsOverview

Overview of rms Package
print.cph

Print cph Results
validate.cph

Validation of a Fitted Cox or Parametric Survival Model's Indexes of Fit
residuals.cph

Residuals for a cph Fit
fastbw

Fast Backward Variable Selection
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
which.influence

Which Observations are Influential
bplot

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

rms Special Transformation Functions
bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
lrm

Logistic Regression Model
validate.rpart

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

Compose an S Function to Compute X beta from a Fit
validate.Rq

Validation of a Quantile Regression Model
survfit.cph

Cox Predicted Survival
residuals.ols

Residuals for ols
residuals.lrm

Residuals from an lrm or orm Fit
val.surv

Validate Predicted Probabilities Against Observed Survival Times
bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
vif

Variance Inflation Factors
gIndex

Calculate Total and Partial g-indexes for an rms Fit
specs.rms

rms Specifications for Models
psm

Parametric Survival Model
orm.fit

Ordinal Regression Model Fitter
survest.psm

Parametric Survival Estimates
validate.lrm

Resampling Validation of a Logistic or Ordinal Regression Model
val.prob

Validate Predicted Probabilities
cr.setup

Continuation Ratio Ordinal Logistic Setup
rmsMisc

Miscellaneous Design Attributes and Utility Functions
rms

rms Methods and Generic Functions