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

Description Usage Arguments Value Examples

View source: R/lm.ols.R

Description

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

Usage

1
ols2lm(fit)

Arguments

fit

reults of ols()

Value

results of lm()

Examples

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

base.rms documentation built on Aug. 1, 2020, 5:06 p.m.