rjags is an R package that serves as an interface to the Just Another Gibbs Sampler (JAGS) software. JAGS is a program for analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC) simulation. In the context of Epidemiology, rjags is used to fit complex statistical models to data, allowing researchers to make probabilistic statements about their hypotheses.