- TeX 63.4%
- BibTeX Style 23.7%
- R 12.2%
- Nix 0.6%
|
|
||
|---|---|---|
| data | added data directory with data files | |
| manuscript | recompiled | |
| .envrc | want to use direnv | |
| .gitignore | ignoring redundant files to make tar.gz for arxiv version | |
| flake.lock | update flake.lock | |
| flake.nix | didn't really need to change the flake - undid all changes | |
| LICENSE | added creative commons license | |
| README.md | now using bibtex for latest journal submission | |
prob-antimatch
Data and Manuscript files for Explaining Human Choice Probabilities with Simple Vector Representations
This manuscript was written as an Rnw file. This means R and no web. The document looks mostly like LaTeX, but has code blocks interspersed that run the analyses and generate the figures. For this to work you will need a lot of LaTeX and R packages. You can look at the library section in the file dataFxns.R. To determine all the LaTeX packages needed you can look at the preamble in the file ms.Rnw. The version of ms.pdf to be found here was compiled on a computer running Linux. The compilation has not been tested on either Windows or OSX. Assuming you have all the requisite libraries installed, and that you are currently in the directory manuscript/ in a R terminal session is:
library(knitr)
knit("ms.Rnw")
This should not take too long as I have the cache set to T. You will use the existing figures. If you want to regenerate everything (and you should), you will need to edit ms.Rnw to set that value to F. Then re-run the above. This will now a minute or two on a modern machine with a healthy amount of RAM.
Next, you will need to run your version of LaTeX and Bibtex on the generated ms.tex file until all the references are built.
You should then be able to open your version of the ms.pdf file.
The above will allow you verify our computations as well as run new analyses or generate new figures from your own analyses of these data.