ScienceRep: a repository for Open Science
These files accompany the article "Reactions to threatening health messages"
by ten Hoor, Peters, Kalagi, de Groot, Grootjans, Huschens, Köhninger, Kölgen, Pelssers, Schütt, Thomas, Ruiter & Kok (2012).
To replicate the analyses, you will need the first 8 files and the 'reactions to threatening health messages - analysis.r' file. Download all files into the same directory, set this directory in the setwd() statement at the top of the 'analyses' file, and run the 'analysis' file, either by copy-pasting its contents into the R console, or by using the source() function.
Note that you need two R files with functions that you can get at https://github.com/Matherion/library
(the analysis script can (and will) download them by itself, but then you need an internet connection to run the analyses).
The output you will get should be exactly the same as what is stored in the 'output' file, but of course if you run the analyses yourself you will easily be able to get additional results, because all relevant objects that were generated during the analysis are stored (see the analysis file).
These files are licensed under a CC BY-NC-SA 3.0 license
. When using this data, please cite the article
and link to this page (http://sciencerep.org/3/