Give trigger events meaningful labels. Existing labels will be overwritten. Use hierarchical labelling to tag an event with multiple labels: separate labels with a "/" symbol. (e.g. "cond1" for a trigger that belongs to one condition, "cond1/cond2" for a trigger that could belong to more than one condition).
tag_events(data, ...) # S3 method for eeg_data tag_events(data, trigs, event_label, ...) # S3 method for eeg_epochs tag_events(data, trigs, event_label, ...)
data | An object of class |
---|---|
... | Parameters passed to S3 methods |
trigs | Character vector of trigger numbers |
event_label | Labels for the events. |
eeg_data
: Tag events in an eeg_data
object
eeg_epochs
: Tag events in an epoched dataset
Other event handlers:
events()
,
list_epochs()
,
list_events()
Matt Craddock matt@mattcraddock.com