Subtract the average or baseline of the points in a defined interval from all points in the segment.

eeg_baseline(x, ..., .lim = -Inf, .unit = "s")



An eeg_lst object or a channel.


Channels to include. All channels by default.


A negative number indicating from when to baseline; the interval is defined as [lim,0]. The default is to use all the negative times.


"seconds" (or "s"), "milliseconds" (or "ms")


An eeg_lst.

See also

Other preprocessing functions: eeg_downsample(), eeg_ica_keep(), eeg_ica(), eeg_rereference(), eeg_segment(), filt