Bayes' Rule With R