Calculates and removes the contribution of eye movements to the EEG signal using least-squares regression.
ar_eogreg(data, heog, veog, bipolarize = TRUE) # S3 method for eeg_data ar_eogreg(data, heog, veog, bipolarize = TRUE) # S3 method for eeg_epochs ar_eogreg(data, heog, veog, bipolarize = TRUE)
data | data to regress - |
---|---|
heog | Horizontal EOG channel labels |
veog | Vertical EOG channel labels |
bipolarize | Bipolarize the EOG channels. Only works when four channels are supplied (2 HEOG and 2 VEOG). |