pratikunterwegs / tres-tidy-tutorial

A tidyverse tutorial for TRES.
https://pratikunterwegs.github.io/tres-tidy-tutorial/
6 stars 0 forks source link

read_rds/write_rds as additional example #27

Open FrieseWoudloper opened 4 years ago

FrieseWoudloper commented 4 years ago

Maybe a nice addition to 1.1.3:

You can also write the model object to an .Rds file and save it for later use.

write_rds(model, 'model.Rds')

After a restart of R you can get the model object back by reading the Rds file:

m <- read_rds('model.Rds')
summary(m)
pratikunterwegs commented 4 years ago

You're welcome to fork and open a PR :)