R code to test whether monkeys learnt to associate a proportion to a favourable sample across trials and to plot Fig. S1 of the supplementary material.
The total number of button presses across all nine sessions is 45 and it can be seen that, with the exception of the first session, engagement with the touchscreen was low.