This repo contains all of the analyses needed to reproduce the results, figures, and contents of the upcoming paper by Li and Hartshorne 2021. The paper can be generated by running "manuscript_rmd.Rmd".
Overview of files
-----------------
- **MA_coding.csv**: mate-analysis coding
- **manuscript_rmd.Rmd**: rmd used to reproduce the paper
- **r-references.bib**: reference list used to reproduce the paper
- **data_for_analysis**: generated by "processing.R" and "complied.cvs" from https://osf.io/pyb8s/. (not inlcuded in this repo)
Instructions
----------------------------------
1. download the "compiled.csv" and "processing.R" from Hartshorne, Tenenbaum & Pinker (2018), publically available at http://osf.io/pyb8s, which is also linked a component here, and put the two in the same folder.
2. add a line of code to read "compiled.csv" into "processing.R" as mydata: `mydata <- read.csv("compiled.csv")`
3. run "processing.R" to generate "data_for_analysis".
4. download the files in this repo, "MA_coding.cvs", "manuscript_rmd.Rmd", and "r-references.bib".
5. make sure "manuscript_rmd.Rmd", "data_for_analysis.csv", "MA_coding.csv", and "r-references.bib" are in the same folder.
5. run "manuscript_rmd.Rmd" and the paper can be reproduced.