- All artifacts used for the experiment can be found in
artifacts/. Inartifacts/README.mdyou find more information about the content. - For replication please have a look in
docs/, in particulardocs/index.Rmdshould be of interest. It's written inRMarkdownso fire upRStudioand have a look. Note, however, that one needs to install quite a lot of packages (in particular rstan and brms are needed), so we recommend you to use theDockerimage instead (see below). - The data collected from the experiment can be found in
data/. analysis.Ris the original script.
The replication package is also published at https://torkar.github.io/affective_states/.
If you want to replicate the results from the replication package in an easy way, we recommend to install Docker, give it plenty of RAM and CPU, and then run the following in the terminal,
docker run -d -p 8787:8787 -e PASSWORD=foo -e ROOT=TRUE torkar/docker_bda:affective_states
Then point your browser to http://localhost:8787, enter rstudio as username and foo as password (change password above to whatever you want). In the browser you now have RStudio, and a first step would be to go (lower-right corner) to the directory development/affective_states/ and click on the project file Jesper & Erik.Rproj, to load the project.
Next, perhaps open the file docs/index.Rmd which you then can knit, i.e., re-run analysis and generate the output index.html (which, as previously stated, is also published at https://torkar.github.io/affective_states/).