This repository contains the data and the code of the data analysis of
Testing two competing hypotheses for Eurasian jays' caching for the future, Piero Amodio, Johanni Brea, Benjamin Farrar, Ljerka Ostojic and Nicola S. Clayton, Scientific Reports (2021)
To run the data analysis open a julia REPL and run
# load the code
using Pkg
Pkg.add(PackageSpec(url = "https://github.com/jbrea/PlanningVsCompensatoryCaching.jl"))
import PlanningVsCompensatoryCaching
# set-up results directory
RESULT_DIR = "results"
mkdir(RESULT_DIR)
# run the script
DIR = joinpath(dirname(pathof(PlanningVsCompensatoryCaching)), "..")
Pkg.activate(DIR)
include(joinpath(DIR, "script.jl"))