A simple example of Bayesian estimation using JAGS with R