Code to reproduce figures and run computational modelling for manuscript "Model-free decision making is prioritized when learning to avoid harming others" by Patricia L. Lockwood, Miriam C. Klein-Flügge, Ayat Abdurahman & Molly J. Crockett. Code uses a mixture of Matlab and R. Manuscript now published in Proceedings of the National Academy of Sciences (2020)