Package: rms 6.9-0

Frank E Harrell Jr

rms: Regression Modeling Strategies

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

Authors:Frank E Harrell Jr [aut, cre]

rms_6.9-0.tar.gz
rms_6.9-0.tar.gz(r-4.5-noble)rms_6.9-0.tar.gz(r-4.4-noble)
rms_6.9-0.tgz(r-4.4-emscripten)
rms.pdf |rms.html
rms/json (API)
NEWS

# Install 'rms' in R:
install.packages('rms', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/harrelfe/rms/issues

Uses libs:
  • fortran– Runtime library for GNU Fortran applications

fortran

7.29 score 1 stars 120 packages 3.6k scripts 27k downloads 1.2k mentions 107 exports 76 dependencies

Last updated 18 days agofrom:11b4ff7172. Checks:OK: 1 ERROR: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 13 2024
R-4.5-linux-x86_64ERRORDec 13 2024

Exports:%ia%annotateAnovaasisbjbjplotbootBCabootcovbootplotbplotcalibratecatgcombineRelatedPredictorsconfplotcontrastcoxphFitcphcr.setupdatadistDesignDesignAssigndxy.censeffective.dfExProbfastbwformatNPgendataggplotgIndexGlmGlsgroupkmgTransHazardhazard.ratio.plothistdensityie.setupimpactPOinteractions.containinglegend.nomabbrevlm.pfitlrmlrm.fitlrtestLRupdatelspmatinvmatrxmodelDataNewlabelsNewlevelsnomogramnpsurvolsols.influenceoos.loglikormorm.fitpantextPenalty.matrixPenalty.setuppentraceperimeterperlcodeplot.contrast.rmsplot.lrm.partialplot.xmean.ordinalyplotmathAnovapolpomapphsmpredab.resamplePredictpredictrmsprmiInfoprModFitprobabilityFamiliesprocessMIpsmrcsrecode2integerrelated.predictorsreListcleanrexVarrobcovRqsascodescoredsensucsetPbshow.influencespecsstratSurvsurvdiffplotsurvestSurvivalsurvplotsurvplotpsurvreg.auxinfounivarLRval.probval.probgval.survvalidatevifwhich.influenceXcontrast

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercodetoolscolorspacedata.tabledigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmemoisemgcvmimemultcompmunsellmvtnormnlmennetpillarpkgconfigpolsplinequantregR6rappdirsRColorBrewerrlangrmarkdownrpartrstudioapisandwichsassscalesSparseMstringistringrsurvivalTH.datatibbletinytexutf8vctrsviridisviridisLitewithrxfunyamlzoo

Readme and manuals

Help Manual

Help pageTopics
Analysis of Variance (Wald, LR, and F Statistics)anova.rms html.anova.rms latex.anova.rms plot.anova.rms print.anova.rms
Buckley-James Multiple Regression Modelbj bj.fit bjplot print.bj residuals.bj validate.bj
BCa Bootstrap on Existing Bootstrap ReplicatesbootBCa
Bootstrap Covariance and Distribution for Regression Coefficientsbootcov bootplot bootplot.bootcov confplot confplot.bootcov histdensity
3-D Plots Showing Effects of Two Continuous Predictors in a Regression Model Fitbplot perimeter
Resampling Model Calibrationcalibrate calibrate.cph calibrate.default calibrate.psm plot.calibrate plot.calibrate.default print.calibrate print.calibrate.default
General Contrasts of Regression Coefficientscontrast contrast.rms print.contrast.rms
Cox Proportional Hazards Model and Extensionscph Mean.cph Quantile.cph Survival.cph
Continuation Ratio Ordinal Logistic Setupcr.setup
Distribution Summaries for Predictor Variablesdatadist print.datadist
Function Generator For Exceedance ProbabilitiesExProb ExProb.orm plot.ExProb
Fast Backward Variable Selectionfastbw print.fastbw
Compose an S Function to Compute X beta from a FitFunction.cph Function.rms perlcode sascode
Generate Data Frame with Predictor Combinationsgendata
Plot Effects of Variables Estimated by a Regression Model Fit Using ggplot2ggplot.Predict
Calculate Total and Partial g-indexes for an rms FitgIndex plot.gIndex print.gIndex
rms Version of glmGlm
Fit Linear Model Using Generalized Least SquaresGls print.Gls
Kaplan-Meier Estimates vs. a Continuous Variablegroupkm
Hazard Ratio Plothazard.ratio.plot
Intervening Event Setupie.setup
Impact of Proportional Odds AssumptonimpactPO
Exported Functions That Were Imported From Other Packagesggplot Surv
LaTeX Representation of a Fitted Cox Modellatex.cph latex.lrm latex.ols latex.orm latex.pphsm latex.psm
LaTeX Representation of a Fitted Modellatex.bj latex.Glm latex.Gls latexrms
Logistic Regression Modellrm print.lrm
lrm.fitlrm.fit
LRupdateLRupdate
Total and Partial Matrix Inversion using Gauss-Jordan Sweep Operatormatinv
Draw a Nomogram Representing a Regression Fitlegend.nomabbrev nomogram plot.nomogram print.nomogram
Nonparametric Survival Estimates for Censored Datanpsurv
Linear Model Estimation Using Ordinary Least Squaresols
Ordinal Regression Modelorm print.orm Quantile.orm
Ordinal Regression Model Fitterorm.fit
Trace AIC and BIC vs. Penaltyeffective.df pentrace plot.pentrace print.pentrace
plot.contrast.rmsplot.contrast.rms
Plot Effects of Variables Estimated by a Regression Model Fitpantext plot.Predict
plot.rexVarplot.rexVar
Plot Mean X vs. Ordinal Yplot.xmean.ordinaly
Plot Effects of Variables Estimated by a Regression Model Fit Using plotlyplotp.Predict
Examine proportional odds and parallelism assumptions of `orm` and `lrm` model fits.poma
Parametric Proportional Hazards form of AFT Modelspphsm print.pphsm vcov.pphsm
Predictive Ability using Resamplingpredab.resample
Compute Predicted Values and Confidence LimitsPredict print.Predict rbind.Predict
Predicted Values for Binary and Ordinal Logistic ModelsMean.lrm Mean.orm predict.lrm predict.orm
Predicted Values from Model Fitpredict.bj predict.cph predict.Glm predict.Gls predict.ols predict.psm predict.rms predictrms
Print cph Resultsprint.cph
print.glmprint.Glm
Print Result from impactPOprint.impactPO
Print olsprint.ols
print.rexVarprint.rexVar
prmiInfoprmiInfo
processMIprocessMI
processMI.fit.mult.imputeprocessMI.fit.mult.impute
Parametric Survival ModelHazard Hazard.psm lines.residuals.psm.censored.normalized Mean.psm print.psm psm Quantile.psm residuals.psm Survival Survival.psm survplot.residuals.psm.censored.normalized
recode2integerrecode2integer
Residuals for a cph Fitresiduals.cph
residuals.Glmresiduals.Glm
Residuals from an 'lrm' or 'orm' Fitplot.lrm.partial residuals.lrm residuals.orm
Residuals for olsresiduals.ols
rexVarrexVar
rms Methods and Generic FunctionsDesign modelData rms
rms Special Transformation Functions%ia% asis catg gTrans lsp makepredictcall.rms matrx pol rcs rms.trans scored strat
Miscellaneous Design Attributes and Utility FunctionsAIC.rms calibrate.rms combineRelatedPredictors DesignAssign formatNP Getlim Getlimi html.naprint.delete interactions.containing latex.naprint.delete logLik.Gls logLik.ols logLik.rms lrtest Newlabels Newlabels.rms Newlevels Newlevels.rms nobs.rms oos.loglik oos.loglik.cph oos.loglik.Glm oos.loglik.lrm oos.loglik.ols oos.loglik.psm param.order Penalty.matrix Penalty.setup print.lrtest print.rms prModFit prStats related.predictors reListclean removeFormulaTerms rmsArgs rmsMisc survest.rms univarLR vcov.cph vcov.Glm vcov.Gls vcov.lrm vcov.ols vcov.orm vcov.psm vcov.rms
Overview of rms Packagerms.Overview rmsOverview
Robust Covariance Matrix Estimatesrobcov
rms Package Interface to quantreg Packagelatex.Rq predict.Rq print.Rq Rq RqFit
Sensitivity to Unmeasured Covariablesplot.sensuc sensuc
Progress Bar for SimulationssetPb
rms Specifications for Modelsprint.specs.rms specs specs.rms
Summary of Effects in Modelhtml.summary.rms latex.summary.rms plot.summary.rms print.summary.rms summary.rms
Cox Survival Estimatessurvest survest.cph
Parametric Survival Estimatesprint.survest.psm survest.psm
Cox Predicted Survivalsurvfit.cph
Plot Survival Curves and Hazard Functionssurvdiffplot survplot survplot.npsurv survplot.rms survplotp survplotp.npsurv
Validate Predicted Probabilitiesplot.val.prob print.val.prob val.prob
Validate Predicted Probabilities Against Observed Survival Timesplot.val.surv plot.val.survh print.val.survh val.surv
Resampling Validation of a Fitted Model's Indexes of Fithtml.validate latex.validate print.validate validate
Validation of a Fitted Cox or Parametric Survival Model's Indexes of Fitdxy.cens validate.cph validate.psm
Resampling Validation of a Logistic or Ordinal Regression Modelvalidate.lrm validate.orm
Validation of an Ordinary Linear Modelvalidate.ols
Dxy and Mean Squared Error by Cross-validating a Tree Sequenceplot.validate.rpart print.validate.rpart validate.rpart
Validation of a Quantile Regression Modelvalidate.Rq
Variance Inflation Factorsvif
Which Observations are Influentialshow.influence which.influence
XcontrastXcontrast