### View code and analyses
- For an overview of all analyses and some additional ones, open "Analyses/Analyses.pdf"
- For the code, open "analyses/analyses.rmd"
- To see the reproduced manuscript, open "manuscript/manuscript.pdf"
- For the backend of the reproduced manuscript, open "analyses/manuscript.rmd"
- For more information on the study procedure and the vignettes that were used, open "study/scenarios.pdf"
### Reproduce analyses and manuscript
- Download all files into one local folder
- Make sure that:
- R, Rstudio, & LaTeX are installed
- All R-packages that are used in the code are installed and up-to-date
- The analyses
- Open the RStudio Project File "pcpc.Rproj"
- Open "analyses/analyses.rmd"
- Knitr the analyses (Windows: "ctrl + shift + k"; mac: "cmd + shift + k")
- There are some additional analyses that you can run
- For example, you can test indirect effects using bootstraped samples
- In order to do so, uncomment respective lines and rerun code
- The manuscript
- Open the RStudio Project File "pcpc.Rproj"
- Open "manuscript/manuscript.rmd"
- Knitr the manuscript (Windows: hit "ctrl + shift + k"; mac: "cmd + shift + k")