This package contains various functions for processing and scoring complex-span and attention control tasks downloaded from the EngleLab

The tasks are programmed in E-Prime and the resulting data file (.edat) the program produces is not easy to work with. The column names may not make any sense to you, there are way too many columns, the values in the columns are not always clear, and other messy issues.

Currently there are functions for the Advanced versions and Foster Shortened versions of the complex-span tasks and functions for all the Attention Control tasks.


Install

devtools::install_github("EngleLab/englelab")

Data Preparation

Once you are ready to start analyzing data from the tasks, you will first need to create a merged (.emrg) data file of all the individual .edat files E-Prime produces. How to create a merged E-Prime file

You then will need to export that .emrg file as a tab-delimited .txt file. How to Export E-Prime files to .txt. You need to follow the ‘Export Data to StatView’ instructions AND uncheck Unicode.

You can then import the .txt merged file into R. readr::read_delim()

Usage

Symmetry Span Example

library(readr)
library(dplyr)
library(englelab)

## Import
data_import <- read_delim("import/SymSpan.txt", "\t", 
                          escape_double = FALSE, trim_ws = TRUE)
                     
## Raw
data_raw <- raw_symspan(data_import)

## Score
data_score <- data_raw %>%
  group_by(Subject) %>%
  score_symspan()

See Articles:

Non-R Users

For non-R users, we created a point-and-click GUI to process and score data files from the tasks.

Troubleshooting

If you are having any difficulties with this package please contact Jason Tsukahara at jason.tsukahara@gatech.edu


Citation

DOI

Tsukahara, J.S. (2021). englelab: An R package for processing complex-span and attention control tasks downloaded from the EngleLab (v1.0.1). http://doi.org/10.5281/zenodo.4757606