-
Notifications
You must be signed in to change notification settings - Fork 0
/
S1_data_analysis.Rmd
53 lines (40 loc) · 1.22 KB
/
S1_data_analysis.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: |
| ICE development - Study 1 - data analysis -
| `r params$factors` factors solution
author: "Małgorzata Wierzba, Jan Szczypiński, Dominika Zaremba, Michalina Marczak"
date: "Last compiled on `r format(Sys.time(), '%d %B, %Y')`"
output:
html_document:
toc: true
toc_depth: 3
toc_float: true
editor_options:
chunk_output_type: console
params:
factors: 7
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
options(knitr.kable.NA = '')
library(knitr)
library(tidyverse)
library(psych)
library(EFA.dimensions)
library(Hmisc)
library(corrtable)
```
```{r include=FALSE}
source('./S1/01-quality-control.R')
source('./S1/02-preprocessing.R')
```
```{r child = "S1/03-EFA.Rmd"}
```
```{r child = 'S1/04-reliability.Rmd'}
```
```{r child = if (params$factors == 7) 'S1/05-questionnaire.Rmd'}
```
```{r child = if (params$factors == 7) 'S1/06-emo-and-demo.Rmd'}
```
## Note
This HTML output presents the general logic of the analysis along with some results not outlined in the main body of the manuscript. Please note that the full R code for the data cleaning and data analysis is available in the supplementary materials on the accompanying [OSF website](https://osf.io/78d6u).