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 eeg_data ar_thresh(data, threshold, reject = FALSE) # S3 method for 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
#>#>#>#> Epoched EEG data #> #> Number of channels : 11 #> Number of epochs : 80 #> Epoch limits : -0.197 - 0.451 seconds #> Electrode names : A5 A13 A21 A29 A31 B5 B6 B8 B16 B18 B26 #> Sampling rate : 128 Hz #> Reference : average