This repository contains the R code and output needed to reproduce the results in Sections 5.1-5.3, Section 6, and Appendices B and F of our manuscript (preprint: https://psyarxiv.com/ukwrf). The accompanying R package can be downloaded and installed from cran (https://cran.r-project.org/package=bgms). The R code in the Bayesian reanalysis folder provides a tutorial on the R package.