https://github.com/ccp-eva/competitive-altruism
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.6%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: ccp-eva
- License: cc-by-4.0
- Language: R
- Default Branch: main
- Size: 4.18 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Chimpanzees engage in competitive altruism in a triadic Ultimatum Game
This repository contains all the raw data, the statistical analysis code and the plotting code used in authoring the paper "Chimpanzees engage in competitive altruism in a triadic Ultimatum Game" by Sánchez-Amaro et al. By cloning the repository you can reproduce all the figures and essential statistical numbers found in the paper.
The data and code are both licensed under the Creative Commons Attribution
copyright license, like the paper itself. See the LICENSE.md file for
details.
Replication quickstart guide:
After cloning the repository, the various .R scripts in the analysis/ folder
should be run in the following order. Note that all scripts expect to be run
with the analysis/ folder as the working directory.
- Run
data_reformat.R. This will produce a number of intermediary data files in thedata/folder, all derived from the single raw data filedata/competitive_altruism_dataset.csv. - Run each of the
fit_*.Rscripts. They can be run in any order. Each will fit one or morebrmsmodels and save the fitted models as.rdsfiles. All further scripts require that these.rdsto exist and will fail with errors if they do not. - Run the
knit_summary.Rscript. This will load all the saved model files from the previous step and produce a matching Markdown file (model_summaries.knit.md) and PDF file (model_summaries.pdf). The model summaries included in the paper's Electronic Supplementary Material are precisely this PDF file. The Markdown file produced from the model fits used for the published paper was committed to the repository prior to initial submission of the manuscript. This means that if you re-fit the models, you can usegit diffto easily confirm that your new numbers do not differ substantially from those seen in the paper. - Run each of the
plot_*.Rscripts. They can be run in any order. Each will save one or more figures in theplots/folder. All figures used in the paper will be reproduced, plus some extras. Minor differences may be visible between your reproduced figures and those in the paper, due to variations in MCMC model fits.
Owner
- Name: Comparative Cultural Psychology
- Login: ccp-eva
- Kind: organization
- Email: info_ccp@eva.mpg.de
- Location: Leipzig, Germany
- Website: https://www.eva.mpg.de/comparative-cultural-psychology/
- Repositories: 20
- Profile: https://github.com/ccp-eva
Official Repository of the Comparative Cultural Psychology Department of the Max Planck Institute for Evolutionary Anthropology
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: 4 minutes
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- AlexSanchezAmaro (2)