The BDA_R_demos repository contains some R demos and additional notes for the book Bayesian Data Analysis, 3rd ed by Gelman, Carlin, Stern, Dunson, Vehtari, and Rubin (BDA3). See also Bayesian Data Analysis course material.
The initial demos were originally written for Matlab by Aki Vehtari and translated to R by Markus Paasiniemi. Recently more demos have been added for CmdStanR, RStan and RStanARM. Unless otherwise specified in specific files all code licensed under BSD-3 and all text, slides and figures licensed under CC-BY-NC 4.0.
See also Model Selection tutorial.
List of demos (not including rstan and rstanarm demos)