base.rms (version 1.0)

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

Description

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

Usage

lm2ols(fit)

Arguments

fit

reults of lm()

Value

results of ols()

Examples

Run this code
# NOT RUN {
fit <- lm(mpg ~ disp,data=mtcars)
lm2ols(fit)
# }

Run the code above in your browser using DataLab