Most files in these folders are [Rmarkdown][1] files (`.Rmd`) producing the results reports as `html` files as well as results figures as either `png` or `pdf` files. To produce all figures, some lines need to be uncommented or specifically called in the markdown file.
All files here require the fitted model objects given in the 'Fitted Meta-Analysis Models' component (these are moved to a different component as they are rather large).
- `main_results_all_models`: Produces the main results (i.e., parameter estimates and fit statistics)) and results figures for all meta-analysis models discussed in the paper. Can produce `hyper_posterior.rda` and `hyper_posterior_alt.rda` which is needed for the Bayes factor analyses (some lines need to be uncommented for this).
- `Model_fit_meta-analysis_original-model`: Produces the model fit plots of the original model.
- `additional_results_original_meta-analysis_model`: Produces the item-effects results plot based on the original model.
- `code_bayes_factor.R` produces the Bayes factor results for the meta-analysis. Requires `hyper_posterior.rda` and `hyper_posterior_alt.rda`.
In addition, this component also contains further files needed by some of the files here. These files are described in more details in the wiki which contains the fitting code:
- `trippas_drh_syll.txt`: data
- `prep_data_trialwise.R`: Prepares data for fitting.
- `analysis_functions.R`: Analysis functions, mostly for plotting
[1]: http://rmarkdown.rstudio.com/esults_all_models`: