mykeep()
# Load data
dat <- readRDS(paths$pd("prepped_data"))
# run a model
mod <- lm(mpg ~ am + cyl + disp, data = dat)
# get coefficients
tmod <- tidy(mod)
# save coefficients
saveRDS(tmod, paths$td("tmod"))
# clear the working space
mykeep()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.