Skip to content

Commit

Permalink
README update to mention slim version
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard McElreath committed Dec 29, 2021
1 parent d941768 commit 783d111
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ If there are any problems, they likely arise when trying to install ``rstan``, s

Note that the ``rethinking`` package is not on CRAN, just on github. The ``rethinking`` package is never going to be on CRAN.

# rethinking slim - no MCMC

If you just want to work through the first half of the course, without bothering with MCMC and Stan installs, you can install the 'slim' version of the rethinking package. Do this:
```
install.packages(c("coda","mvtnorm","devtools","loo","dagitty"))
devtools::install_github("rmcelreath/rethinking@slim")
```
The ``quap`` function and related helper functions should still work, and you'll be able to work through Chapter 8 before you need to install the full version with Stan.

# Quadratic Approximation with `quap`

Almost any ordinary generalized linear model can be specified with `quap`. To use quadratic approximation:
Expand Down

0 comments on commit 783d111

Please sign in to comment.