hugo_memorise_model: Saves a model

Description Usage Arguments Author(s) Examples

Description

Saves a model in the directory chosen at the beginning of the current Hugo Investigation in the subfolder 'gallery' in .rda file. In addition, the function saves a summary in .md file based on tidy data frames from package broom. Be aware that it can be done only for models supported by broom.

Usage

1

Arguments

model

a model to be saved

name

a name of files

Author(s)

Malgorzata Lazecka

Examples

1
2
3
4
5
## Not run: mod.lm <- lm(Sepal.Length ~ Petal.Length, data = iris)
hugo_memorise_model(mod.lm, name = "model.iris")
# Or save as "mod.lm":
hugo_memorise_model(mod.lm)
## End(Not run)

hugo4r/hugo documentation built on May 29, 2019, 11:05 p.m.