Description Usage Arguments Value Methods (by class) Author(s)
View source: R/data_modifiers.R
Creates epochs around specified event triggers. Requires data of class
eeg_data
. Where multiple events are specified, epochs will be created
around each event.
1 2 3 4 | epoch_data(data, ...)
## S3 method for class 'eeg_data'
epoch_data(data, events, time_lim = c(-1, 1), ...)
|
data |
Continuous data to be epoched. |
... |
Parameters passed to functions |
events |
Character vector of events to epoch around. |
time_lim |
Time in seconds to form epoch around the events. Defaults to one second either side. |
Returns an epoched object of class eeg_data
eeg_data
:
Matt Craddock matt@mattcraddock.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.