by Douglas Blackiston, Emma Lederer, Sam Kriegman, Simon Garnier, Josh Bongard, and Michael Levin
This repository contains code and data for reproducing the behavioral analysis described in the manuscript.
In order to run the included code, you will need to install the following software:
R
(https://cran.r-project.org/)RStudio
(https://rstudio.com/)- The following
R
packages:readr
readxl
dplyr
stringr
lubridate
ggplot2
rebmix
circular
patchwork
CEC
cluster
ggforce
RColorBrewer
tidyr
msm
tidygraph
ggraph
scales
All other dependencies will be installed for you during the execution of the scripts and notebooks.
In order to reproduce the analysis, you will need to perform the following steps:
- Download (or clone) the content of the repository to your local computer.
- Open
data_prep.R
andfinal.Rmd
withRStudio
. - Run the content of
data_prep.R
to prepare the raw data for analysis. - Run the content of
final.Rmd
to obtain the results presented in the manuscript.