Learn R Programming

⚠️There's a newer version (6.8-2) 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

27,322

Version

5.1-0

License

GPL (>= 2)

Last Published

January 1st, 2017

Functions in rms (5.1-0)

bplot

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

BCa Bootstrap on Existing Bootstrap Replicates
calibrate

Resampling Model Calibration
cph

Cox Proportional Hazards Model and Extensions
bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
bj

Buckley-James Multiple Regression Model
datadist

Distribution Summaries for Predictor Variables
cr.setup

Continuation Ratio Ordinal Logistic Setup
contrast.rms

General Contrasts of Regression Coefficients
anova.rms

Analysis of Variance (Wald and F Statistics)
ExProb

Function Generator For Exceedance Probabilities
fastbw

Fast Backward Variable Selection
groupkm

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

Hazard Ratio Plot
gIndex

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

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

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

Fit Linear Model Using Generalized Least Squares
Glm

rms Version of glm
gendata

Generate Data Frame with Predictor Combinations
orm.fit

Ordinal Regression Model Fitter
ols

Linear Model Estimation Using Ordinary Least Squares
latexrms

LaTeX Representation of a Fitted Model
lrm.fit

Logistic Model Fitter
matinv

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

Logistic Regression Model
orm

Ordinal Regression Model
pentrace

Trace AIC and BIC vs. Penalty
rms-internal

Internal rms functions
rms

rms Methods and Generic Functions
latex.cph

LaTeX Representation of a Fitted Cox Model
ie.setup

Intervening Event Setup
rms.trans

rms Special Transformation Functions
rmsMisc

Miscellaneous Design Attributes and Utility Functions
setPb

Progress Bar for Simulations
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
sensuc

Sensitivity to Unmeasured Covariables
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
residuals.lrm

Residuals from an lrm or orm Fit
residuals.ols

Residuals for ols
Rq

rms Package Interface to quantreg Package
robcov

Robust Covariance Matrix Estimates
nomogram

Draw a Nomogram Representing a Regression Fit
npsurv

Nonparametric Survival Estimates for Censored Data
plotp.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using plotly
psm

Parametric Survival Model
pphsm

Parametric Proportional Hazards form of AFT Models
residuals.cph

Residuals for a cph Fit
vif

Variance Inflation Factors
which.influence

Which Observations are Influential
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
print.cph

Print cph Results
predictrms

Predicted Values from Model Fit
print.ols

Print ols
val.prob

Validate Predicted Probabilities
val.surv

Validate Predicted Probabilities Against Observed Survival Times
rmsOverview

Overview of rms Package
specs.rms

rms Specifications for Models
summary.rms

Summary of Effects in Model
validate.lrm

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

Validation of an Ordinary Linear Model
Predict

Compute Predicted Values and Confidence Limits
predab.resample

Predictive Ability using Resampling
survest.psm

Parametric Survival Estimates
survest.cph

Cox Survival Estimates
survfit.cph

Cox Predicted Survival
validate.cph

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

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

Plot Survival Curves and Hazard Functions
validate.rpart

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

Validation of a Quantile Regression Model