lm2ols {base.rms}R Documentation

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

fit <- lm(mpg ~ disp,data=mtcars)
lm2ols(fit)

[Package base.rms version 1.0 Index]