View source: R/data_modifiers.R
eeg_downsample | R Documentation |
Performs low-pass anti-aliasing filtering and downsamples EEG data by a
specified factor. This is a wrapper for decimate
from the
signal
package. Note that this will also adjust the event table,
moving events to the nearest time remaining after downsampling
eeg_downsample(data, ...)
## S3 method for class 'eeg_data'
eeg_downsample(data, q, ...)
## S3 method for class 'eeg_epochs'
eeg_downsample(data, q, ...)
data |
An |
... |
Parameters passed to functions |
q |
Integer factor to downsample by |
eeg_downsample(eeg_data)
: Downsample eeg_data objects
eeg_downsample(eeg_epochs)
: Downsample eeg_epochs objects
Matt Craddock matt@mattcraddock.com
eeg_downsample(demo_epochs, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.