View source: R/data_selection.R
select_freqs | R Documentation |
Select specific frequencies from eeg_tfr
objects. Can be used to
selecting either single frequencies or anything within a range.
select_freqs(data, freq_range) ## S3 method for class 'eeg_tfr' select_freqs(data, freq_range)
data |
An |
freq_range |
The range of frequencies to retain. Can be a scale or the lower and upper bounds. (e.g. c(5, 30)) |
eeg_tfr
: Function for selecting specific frequencies from eeg_tfr
objects.
demo_tfr <- compute_tfr(demo_epochs, foi = c(4, 30), n_freq = 10, n_cycles = 5) select_freqs(demo_tfr, c(8, 12))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.