Description Usage Arguments Value Examples
Remove parts of a GLM not needed for prediction to trim down size.
1 | trim_glm(model)
|
model |
A GLM object. |
A trimmed-down GLM, with only the parts needed for predicton.
1 2 3 | mtcarsGLM <- glm(mpg ~ ., data = mtcars)
object.size(mtcarsGLM)
object.size(trim_glm(mtcarsGLM))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.