View source: R/artefact_rejection.R
ar_thresh | R Documentation |
Reject data based on a simple absolute amplitude threshold. This marks any timepoint from any electrode.
ar_thresh(data, threshold, reject = FALSE) ## S3 method for class 'eeg_data' ar_thresh(data, threshold, reject = FALSE) ## S3 method for class 'eeg_epochs' ar_thresh(data, threshold, reject = FALSE)
data |
An object of class |
threshold |
In microvolts. If one value is supplied, it will be treated as a +- value. |
reject |
If TRUE, remove marked data immediately, otherwise mark for inspection/rejection. Defaults to FALSE. |
An object of class eeg_data
or eeg_epochs
eeg_data
: Reject data using a simple threshold.
eeg_epochs
: Reject data using a simple threshold.
Matt Craddock matt@mattcraddock.com
ar_thresh(demo_epochs, c(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.