Bayesian Nonparametrics R tutorial Based on original code by Tamara Broderick. The code contains holes indicated by ??? Replace them with appropriate functions.