EyeDoctor_PadLines: Pad lines for EyeDoctor processing

View source: R/EyeDoctor_PadLines.R

EyeDoctor_PadLinesR Documentation

Pad lines for EyeDoctor processing

Description

This function pads text lines in the raw asc files to enable processing of fixations that are just to the left or to the right text margin. Please note that if lines are not padded, EyeDoctor maps all fixations outside the text area as -1, which makes it impossible to map them to the line area on which they occured.

Usage

EyeDoctor_PadLines(data_dir = NULL, paddingSize = 5)

Arguments

data_dir

A directory containing asc data files to be processed

paddingSize

How many characters to pad to the left and to the right of the line margin. #'

Value

Nothing; the padded asc files are directly saved to the input directory

Author(s)

Martin R. Vasilev


martin-vasilev/readingET documentation built on Jan. 31, 2023, 3:38 p.m.