Exercises from the Bayesian Cognitive Modeling book by Lee and Wagenmakers implemented in R and Stan.