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
  • Implement user-added distributions in psm - see https://github.com/harrelfe/rms/issues/41

Copy Link

Version

Install

install.packages('rms')

Monthly Downloads

26,057

Version

5.1-2

License

GPL (>= 2)

Last Published

January 7th, 2018

Functions in rms (5.1-2)

anova.rms

Analysis of Variance (Wald and F Statistics)
bj

Buckley-James Multiple Regression Model
gendata

Generate Data Frame with Predictor Combinations
ggplot.Predict

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

LaTeX Representation of a Fitted Model
lrm

Logistic Regression Model
orm.fit

Ordinal Regression Model Fitter
pentrace

Trace AIC and BIC vs. Penalty
rms

rms Methods and Generic Functions
rms.trans

rms Special Transformation Functions
val.prob

Validate Predicted Probabilities
val.surv

Validate Predicted Probabilities Against Observed Survival Times
ExProb

Function Generator For Exceedance Probabilities
Function

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

Plot Effects of Variables Estimated by a Regression Model Fit
predictrms

Predicted Values from Model Fit
print.cph

Print cph Results
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
survest.cph

Cox Survival Estimates
survest.psm

Parametric Survival Estimates
bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
bplot

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

Resampling Model Calibration
groupkm

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

Hazard Ratio Plot
plotp.Predict

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

Parametric Proportional Hazards form of AFT Models
predab.resample

Predictive Ability using Resampling
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
validate

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

Residuals for ols
rms-internal

Internal rms functions
validate.Rq

Validation of a Quantile Regression Model
sensuc

Sensitivity to Unmeasured Covariables
setPb

Progress Bar for Simulations
validate.ols

Validation of an Ordinary Linear Model
validate.rpart

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

Compute Predicted Values and Confidence Limits
Rq

rms Package Interface to quantreg Package
fastbw

Fast Backward Variable Selection
gIndex

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

Intervening Event Setup
latex.cph

LaTeX Representation of a Fitted Cox Model
print.ols

Print ols
psm

Parametric Survival Model
specs.rms

rms Specifications for Models
rmsOverview

Overview of rms Package
summary.rms

Summary of Effects in Model
validate.cph

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

Resampling Validation of a Logistic or Ordinal Regression Model
Glm

rms Version of glm
Gls

Fit Linear Model Using Generalized Least Squares
cr.setup

Continuation Ratio Ordinal Logistic Setup
datadist

Distribution Summaries for Predictor Variables
lrm.fit

Logistic Model Fitter
matinv

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

Linear Model Estimation Using Ordinary Least Squares
orm

Ordinal Regression Model
survfit.cph

Cox Predicted Survival
survplot

Plot Survival Curves and Hazard Functions
vif

Variance Inflation Factors
residuals.cph

Residuals for a cph Fit
residuals.lrm

Residuals from an lrm or orm Fit
which.influence

Which Observations are Influential
contrast.rms

General Contrasts of Regression Coefficients
cph

Cox Proportional Hazards Model and Extensions
nomogram

Draw a Nomogram Representing a Regression Fit
npsurv

Nonparametric Survival Estimates for Censored Data
rmsMisc

Miscellaneous Design Attributes and Utility Functions
robcov

Robust Covariance Matrix Estimates