@iddata/nkshift
Shift input channels of dataset dat according to integer nk. A positive value of nk means that the input channels are delayed nk samples. By default, both input and output signals are shortened by nk samples. If a third argument ’append’ is passed, the output signals are left untouched while nk zeros are appended to the (shortened) input signals such that the number of samples in dat remains constant.
Source Code: @iddata/nkshift