tag_epochs: Tag epochs with labels

View source: R/event_codes.R

tag_epochsR Documentation

Tag epochs with labels

Description

Tag epochs with labels indicating details such as experimental condition, based on the occurrence of event triggers from the events() structure. This adds a new column to the epochs structure in an eeg_epochs object.

Usage

tag_epochs(.data, ...)

## Default S3 method:
tag_epochs(.data, ...)

## S3 method for class 'eeg_epochs'
tag_epochs(.data, event_type = NULL, event_label = NULL, ...)

Arguments

.data

An eegUtils object

...

Additional arguments.

event_type

Label epochs according to specific event_types (typically a trigger)

event_label

Label epochs according to specific event_labels

Methods (by class)

  • eeg_epochs: Tag epochs in an eeg_epochs object.


craddm/eegUtils documentation built on March 24, 2022, 9:17 a.m.