Bayesian statistics is concerned with making inferences from data.
It differs from standard frequentist inference in that external or prior information can be explicitly included in the analysis.
How to fit Bayesian models using JAGS package.
more about the package: https://cran.r-project.org/web/packages/rjags/rjags.pdf