,Skip to contents

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

Usage

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

Arguments

x

An eeg_lst object or a channel.

...

Channels to include. All channels by default.

.lim

The start of the baseline interval, or a vector with its start and end. The interval includes its start but not its end. A single value, such as the default -Inf, is the start of an interval that ends at time zero, whatever the .unit, so the default uses all the samples before time zero.

.unit

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

Value

An eeg_lst.

See also