ols2lm {base.rms}R Documentation

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

library(rms)
fit <- ols(mpg ~ disp^2,data=mtcars)
ols2lm(fit)

[Package base.rms version 1.0 Index]