Bayesian fundamentals (Likelihood, Prior, Posterior) in R