powered by
Split signals into a list of epochs according to an events dataframe or an epoch duration.
epochs(signals, sRates, resample = 100, epoch = 30, startTime = 0)
A list of signal chunks
A list of numeric vectors containing signals.
A vector or list of integer values of the signals sample rates.
The sample rate to resample all signals. Defaults to 100.
Epochs reference. Can be an events dataframe or the number of seconds of each epoch. Defaults to 30.
The start timestamp of the signal, used to join events to epoch.
epochs(list(c(1:1000),c(1:1000)),100,2)
Run the code above in your browser using DataLab