Introduction to probability simulation and gibbs sampling with R - Suess, Eric A. (Use R, 2010)