ep.eye_cleanup: Eye Data Preprocessing and Cleanup

View source: R/ep.eye_cleanup.R

ep.eye_cleanupR Documentation

Eye Data Preprocessing and Cleanup

Description

This function processes eye tracking data for use in event-related potential (ERP) studies. It generates event-locked timing, removes raw data to minimize object size, tags the data with a class to indicate successful preprocessing, saves the preprocessed data, and manages log files.

Usage

ep.eye_cleanup(ep.eye, globals, header = NULL)

Arguments

ep.eye

An object containing the eye tracking data to be cleaned up.

globals

A list of global parameters defined in the config file.

header

A string used to set the chunk header for the logging. Default is NULL.

Value

Returns the cleaned up eye tracking data with the class "ep.eye.preproc".

See Also

ep.eye_tag_event_time, ep.eye_save_preproc

Examples

## Not run: 
cleaned_data <- ep.eye_cleanup(raw_eye_data, config$definitions$eye$global, "6. Cleanup and export ep.eye")

## End(Not run)

PennStateDEPENdLab/experiment.pipeline documentation built on April 14, 2024, 9:37 p.m.