Exercises and examples in "Bayesian Essentials with R", Marin & Robert (2014).