
Rjags allows calling JAGS code from R to estimate Bayesian statistical models using Gibbs sampling. Coupled with the coda package, it allows the researcher to set up data in R, run a model specified in the JAGS/BUGS language on the data, and then conduct post-estimation analysis using R's tools.