Learn R Programming

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

rms (version 3.1-0)

Regression Modeling Strategies

Description

Regression modeling, testing, estimation, validation, graphics, prediction, and typesetting by storing enhanced model design attributes in the fit. rms is a collection of about 225 functions that assist with and streamline modeling. It also contains functions for binary and ordinal logistic regression models 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 logistic regression, 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.

Copy Link

Version

Install

install.packages('rms')

Monthly Downloads

26,751

Version

3.1-0

License

GPL (>= 2)

Maintainer

Frank E Harrell Jr

Last Published

September 13th, 2010

Functions in rms (3.1-0)

Predict

Compute Predicted Values and Confidence Limits
bj

Buckley-James Multiple Regression Model
pphsm

Parametric Proportional Hazards form of AFT Models
anova.rms

Analysis of Variance (Wald and F Statistics)
datadist

Distribution Summaries for Predictor Variables
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
predictrms

Predicted Values from Model Fit
latex.cph

LaTeX Representation of a Fitted Cox Model
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
Glm

rms Version of glm
robcov

Robust Covariance Matrix Estimates
gendata

Generate Data Frame with Predictor Combinations
specs.rms

rms Specifications for Models
Function

Compose an S Function to Compute X beta from a Fit
residuals.ols

Residuals for ols
rms.trans

rms Special Transformation Functions
contrast.rms

General Contrasts of Regression Coefficients
predab.resample

Predictive Ability using Resampling
ols

Linear Model Estimation Using Ordinary Least Squares
matinv

Total and Partial Matrix Inversion using Gauss-Jordan Sweep Operator
val.surv

Validate Predicted Probabilities Against Observed Survival Times
residuals.lrm

Residuals from a Logistic Regression Model Fit
pentrace

Trace AIC and BIC vs. Penalty
hazard.ratio.plot

Hazard Ratio Plot
rmsMisc

Miscellaneous Design Attributes and Utility Functions
survfit.cph

Cox Predicted Survival
survest.psm

Parametric Survival Estimates
psm

Parametric Survival Model
summary.rms

Summary of Effects in Model
validate.rpart

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

Variance Inflation Factors
survfit.formula

Compute a Survival Curve for Censored Data
rms

rms Methods and Generic Functions
survest.cph

Cox Survival Estimates
which.influence

Which Observations are Influential
validate

Resampling Validation of a Fitted Model's Indexes of Fit
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
cr.setup

Continuation Ratio Ordinal Logistic Setup
calibrate

Resampling Model Calibration
rmsOverview

Overview of rms Package
gIndex

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

Intervening Event Setup
Gls

Fit Linear Model Using Generalized Least Squares
cph

Cox Proportional Hazards Model and Extensions
val.prob

Validate Predicted Probabilities
survplot

Plot Survival Curves and Hazard Functions
validate.ols

Validation of an Ordinary Linear Model
validate.cph

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

Logistic Regression Model
print.ols

Print ols
latexrms

LaTeX Representation of a Fitted Model
nomogram

Draw a Nomogram Representing a Regression Fit
bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
bplot

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

Logistic Model Fitter
residuals.cph

Residuals for a cph Fit
sensuc

Sensitivity to Unmeasured Covariables
rms-internal

Internal rms functions
fastbw

Fast Backward Variable Selection
Rq

rms Package Interface to quantreg Package
groupkm

Kaplan-Meier Estimates vs. a Continuous Variable
print.cph

Print cph Results
validate.lrm

Resampling Validation of a Logistic Model