| events | R Documentation |
Get or set the values in the events structure of an eegUtils object.
events(.data) events(.data) <- value ## S3 replacement method for class 'eeg_epochs' events(.data) <- value ## S3 replacement method for class 'eeg_data' events(.data) <- value
.data |
|
value |
Value to replace |
Matt Craddock matt@mattcraddock.com
Other event handlers:
list_epochs(),
list_events(),
tag_events()
events(demo_epochs)
events(demo_epochs) <- mutate(events(demo_epochs),
sf = dplyr::case_when(
event_type %% 2 == 0 ~ "HSF",
event_type %% 2 == 1 ~ "LSF",
))
events(demo_epochs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.