This function will download R script templates for tasks commonly used in the EngleLab

get_script(
  type = "raw",
  to = "R Scripts",
  overwrite = FALSE,
  wmc = FALSE,
  symspan = FALSE,
  ospan = FALSE,
  rotspan = FALSE,
  ac = FALSE,
  antisaccade = FALSE,
  stroop = FALSE,
  flanker = FALSE,
  stroopDL = FALSE,
  flankerDL = FALSE,
  visualarrays = FALSE,
  sact = FALSE,
  path = "./"
)

Arguments

type

String. Do you want to download "raw" or "score" task template files?

to

a directory where to download R scripts

wmc

Logical. Download scripts for the wmc taks?

symspan

Logical. Download script for the symmetry span task?

ospan

Logical. Download script for the operation span task?

rotspan

Logical. Download script for the rotation span task?

ac

Logical. Download scripts for all the attention taks?

antisaccade

Logical. Download script for the antisaccade task?

stroop

Logical. Download script for the Stroop task?

flanker

Logical. Download script for the flanker task?

stroopDL

Logical. Download script for the StroopDL task?

flankerDL

Logical. Download script for the FlankerDL task?

visualarrays

Logical. Download script for the Visual Arrays task?

sact

Logical. Download script for the SACT task?

path

String. Home directory file path