base.rms (version 1.0)

ols2lm: Convert results of ols() to lm()

Description

Convert results of ols() from 'rms' package to lm() from 'stats' package.

Usage

ols2lm(fit)

Arguments

fit

reults of ols()

Value

results of lm()

Examples

Run this code
# NOT RUN {
library(rms)
fit <- ols(mpg ~ disp^2,data=mtcars)
ols2lm(fit)
# }

Run the code above in your browser using DataLab