In this example, you find a great web companion written by Harm Schuett. The web companion provides a good starting point when you want to start using Bayesian methods for your research. Code snippets which are used for the accompanying paper can be found on the web companion.
Next to the web companion, a link to the GitHub repository is provided as well.
You can check out this link for all the details.