Add bernoulliBeta to bayesian.R.