extract_model: Extract linear model diagnostics

Description Usage Arguments Value Examples

Description

Extract all information possible with broom::tidy, broom::glance, and broom::augment.

Usage

1

Arguments

x

linear model object of class 'lm'

...

items passed to update_response

data

data to be modeled

Value

object of class 'ModelResponse'

Examples

1
2
3
radon_model <- lm(Uppm ~ typebldg + basement + dupflag, data = radon_mn)
result <- extract_model(radon_model)
result$as_json()

d3m-purdue/d3mLm documentation built on May 20, 2019, 2:25 p.m.