Skip to content

base.rms

Convert Regression Between Base Function and 'rms' Package

v1.0 · Aug 1, 2020 · GPL-3

Description

We perform linear, logistic, and cox regression using the base functions lm(), glm(), and coxph() in the R software and the 'survival' package. Likewise, we can use ols(), lrm() and cph() from the 'rms' package for the same functionality. Each of these two sets of commands has a different focus. In many cases, we need to use both sets of commands in the same situation, e.g. we need to filter the full subset model using AIC, and we need to build a visualization graph for the final model. 'base.rms' package can help you to switch between the two sets of commands easily.

Downloads

517

Last 30 days

7188th

1.2K

Last 90 days

1.2K

Last year

Trend: -28.1% (30d vs prior 30d)

CRAN Check Status

5 NOTE
9 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘splines’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘splines’
  All declared Imports should be used.
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘splines’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘splines’
  All declared Imports should be used.
NOTE r-oldrel-macos-arm64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

  'LazyData' is specified without a 'data' directory

Dependency Network

Dependencies Reverse dependencies rms survival do base.rms

Version History

new 1.0 Mar 9, 2026