strip_glm: strip_glm

Description Usage Arguments Value Examples

Description

Strip the glm model, leaving only the necessary bits for doing a predict.

Usage

1

Arguments

cm

The glm model to strip.

Value

Stripped glm model.

Examples

1
2
3
data(iris)
iris$setosa <- ifelse(iris$Species == 'setosa', 1, 0)
sglm <- strip_glm(glm(setosa ~ Sepal.Length + Sepal.Width, data = iris))

dpavlic/EPmisc documentation built on May 15, 2019, 1:45 p.m.