This repository contains data and code supporting the following paper: Carpenter, Sherman, Kievit, Seth, Lau, & Fleming (under review) "Domain-general enhancements of metacognitive ability through adaptive training"
Figures_Main.m will load the behavioural data and generate all the plots from the paper.
In order to produce a single plot, Figure X, one must load the data and then simply run FigureX.m from the Figure_Code folder. Alternatively, one can simply comment out the other Figure functions from Figures_Main.m and run that.
Data
Contains anonymised behavioural data for the web-based 10-session study.
Figure Code
Contains functions to produce each Figure or even part of a Figure separately.
Figures
Where the outputted figures are stored
helper
Helper functions for plotting and exporting the figures
This code is being released with a permissive open-source license. You should feel free to use or adapt the code as long as you follow the terms of the license. If you make use of the behavioural analyses, we would appreciate that you cite the paper.