-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.Rmd
32 lines (25 loc) · 2.43 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: "Game play and aggressive affect | Online analysis supplement"
author: "Niklas Johannes, Matti Vuorre, Kristoffer Magnusson, & Andy Przybylski"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
output: bookdown::bs4_book
url: https://digital-wellbeing.github.io/gametime-anger
description: |
Time spent playing two online shooters has no measurable effect on aggressive affect* (Johannes, Vuorre, Magnusson, & Przybylski, 2021)"
biblio-style: apalike
---
# Introduction
This repository ([GitHub](https://github.com/digital-wellbeing/gametime-anger) / [OSF](https://osf.io/zd6c2/)) contains the data and code required to reproduce all analyses reported in our manuscript, *Time spent playing two online shooters has no measurable effect on aggressive affect* (Johannes, Vuorre, Magnusson, & Przybylski, 2022). These analyses are presented in the [Online analysis supplement](https://digital-wellbeing.github.io/gametime-anger).
## Materials
- [Preprint](https://psyarxiv.com/gt8ze)
- A publicly available version of our manuscript in advance of peer-review and formal publication
- [GitHub repository](https://github.com/digital-wellbeing/gametime-anger)
- A version controlled repository containing all the raw data and code in this project
- [OSF repository](https://osf.io/zd6c2/)
- An archived permanent copy of the GitHub repository as well as any other study materials.
- [Online analysis supplement](https://digital-wellbeing.github.io/gametime-anger)
- The output document of our analyses, rendered as a website.
Note: This project uses data and code from our previous study: [Vuorre et al. (2021)](https://psyarxiv.com/8cxyh/). The code thus is mostly taken from that project, with adjustments for the current study.
## Reproducibility
The raw data are in the `data/` directory of this repository. The code that we used to clean and analyze the data are organized in R Markdown (`.Rmd`) files in this directory, which are meant to be run in the sequence indicated by their numeric prefixes. The project uses a private package library with the help of the `renv` package. Therefore, first download the entire project, then install the package (`install.packages("renv")`), then run `renv::restore()`. To run all the cleaning and analyses, and compile the resulting document ([the online analysis supplement](https://digital-wellbeing.github.io/gametime-anger)), run `bookdown::render_book()` in R or click "Build Book" in the RStudio IDE.