This book was written by Solomon Kurtz which code lives here. It is a beautiful book on Bayesian regression in R using the brms package. Based on the book “Statistical Rethinking” by Richard McElreath, a Bayesian Course with examples in R and Stan.
- Book version
- RStudio 1.2.5042
- Most packages MRAN dated on
2019-06-12. Other packages dated at later dates for smnoother book building.
Build and run
docker build -f Dockerfile -t f0nzie/kurtz-rethinking .
docker run --rm -p 28787:8787 -v /home/msfz751/docker-share/kurtz:/home/rstudio/share -e USERID=$UID -e PASSWORD=kurtz f0nzie/kurtz-rethinking
Then open RStudio in your browser with 127.0.0.1:28787, with
kurtz user id and password.
Note. We will replace this a script that also shares the
bookfolder. See below.
Rscript -e 'bookdown::render_book(input = "index.Rmd", output_format = "bookdown::gitbook", output_dir = "public", clean_envir = FALSE)'