Boundary: Checks the display change implementation in Boundary...

View source: R/Boundary.R

BoundaryR Documentation

Checks the display change implementation in Boundary experiments (Rayner, 1975)

Description

Checks the implementation of 1 boundary change during sentence reading. Checks the timing of the display change, as well as whether the boundary was crossed in a forwards saccade.

Usage

Boundary(
  data_list = "",
  maxtrial = 999,
  boundary_loc = "BOUNDARY",
  start_flag = "DISPLAY CHANGE STARTED",
  end_flag = "DISPLAY CHANGE COMPLETED"
)

Arguments

data_list

Input of data files to be processed. This can be specified in three ways:

  1. a directory that contains all the files (it will select all files ending with ".asc", and order them by participant number, if present).

  2. Directory to a txt file that contains all the .asc data file names inside: e.g., data_list= "C:/My Data/data_list.txt". In the .txt file, the directory for each .asc data file should appear on a separate row, e.g.: C:/My Data/subject1.asc /n C:/My Data/subject2.asc

  3. A directory to a single .asc file: e.g., data_list= "C:/My Data/subject1.asc".

maxtrial

Maximum number of experimental trials in the experiment (default= 9999)

boundary_loc

The name of the message flag in the data file for the pixel location of the boundary (if present)

start_flag

start flag for the beginning of the display change

end_flag

end flag indicating the completion of the display change

Author(s)

Martin R. Vasilev


martin-vasilev/EMreading documentation built on June 23, 2024, 7:38 p.m.