Written and maintained by Xiaoyue Zhu
csv/
contains the animal behavioral data inpreprocessed_good_trials.csv
, and various csv files pre-computed for plottingfits/
contains the stan fit objects using the mixture-BDT modelplots/
is currently empty, any outputs of the plotting functions will be stored herefigure_x
contains the plotting functions relevant for making the specific plots
- Set working directory to where the repo is stored locally
setwd('xx/perceptual-gambling/')
- Source
init.R
, make sure you have the relevant packages installed - Simply go to each
figure_x.R
and run themake_figure_x
function