modeldf: Transform lm, glm, or nls object into a data frame with...

View source: R/modeldf.R

modeldfR Documentation

Transform lm, glm, or nls object into a data frame with margin of error and confidence intervals.

Description

Transform lm, glm, or nls object into a data frame with margin of error and confidence intervals.

Usage

modeldf(model, conf = 0.95)

Arguments

model

An lm, glm, or nls model object.

conf

A confidence level, 0-1.

Value

A data frame.

See Also

https://github.com/robertschnitman/diagnoser

Examples

model.glm <- glm(data = mtcars, formula = am ~ mpg + gear, family = binomial(link = 'logit'))
modeldf(model = model.glm, conf = 0.90)

robertschnitman/schnitr documentation built on Aug. 18, 2022, 8:39 p.m.