tag_epochs: Tag epochs with labels

Description Usage Arguments Methods (by class)

View source: R/event_codes.R

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

1
2
3
4
5
6
7
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)


kusumikakd/EEG documentation built on June 28, 2020, 12:30 a.m.