Tuesday, May 11, 2010

R Package 'rms' for Regression Modeling

If you attended Frank Harrell's Regression Modeling Strategies course a few weeks ago, you got a chance to see the rms package for R in action. Frank's rms package does regression modeling, testing, estimation, validation, graphics, prediction, and typesetting by storing enhanced model design attributes in the fit. rms is a re-written version of the Design package that has improved graphics and duplicates very little code in the survival package.

First install the rms package:
install.packages("rms")

Next, load the package:
library(rms)

Finally, run this command to get very extensive documentation of many of the features in the rms package:
?rmsOverview

You can also get a walk-through consisting of several example uses of functions in the rms package for modeling and graphics.
example(rmsOverview)

1 comment:

  1. I am just starting my education in the "R" world data modeling and have come across your notes. I would like to get up to speed as quickly as possible. Can you give me any suggestions as to where I would best begin?

    Thanks!

    Victoria Allen
    dba11@live.com

    ReplyDelete

Creative Commons License
Getting Genetics Done by Stephen Turner is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.