Skip to content

This is a repository for data, model code, and plotting code for Perry, Barrett & Godoy, 2017

Notifications You must be signed in to change notification settings

bjbarrett/cebusinnovation2017

Repository files navigation

cebusinnovation2017

This is a repository for data, model code, and plotting code for Perry, Barrett & Godoy's 2017 paper: Older, sociable white-faced capuchins (Cebus capucinus) invent more social behaviors; younger monkeys innovate more in other contexts.

To rerun the analyses you will require McElreath's rethinking package and have r-STAN installed: https://github.com/rmcelreath/rethinking

1.Main Paper Results for Innovation Across Domains

The main datafile of innovations of individuals is called "PNASfinaldomainindividual_git.csv".

2.Group Level Annual Innovation Rates

To reproduce analyses and graphs used in Figure 1, code can be found in the "group_preds_git.R" file. Data is loaded from the file "PNASinnovationlistused_git.csv" and then manipulated using supllied code to be ready for analyses.

3.Supplemental Analyses on Social Transmsision Code for models and analyses can be found in the file "inno_transmission_git.R" "PNASinnovationlistused_git.csv" is necessary for constructing the dataset.

If you have any questions about anaylsis email [email protected] or tweet @bjjbarrett.

About

This is a repository for data, model code, and plotting code for Perry, Barrett & Godoy, 2017

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages