powered by
Transform a timestamp sequence into a inter-arrival time sequence
tseq2interval(x)
a timestamp sequence
a numeric vector of the same length as x. The first element in the returned vector is 0. The t-th returned element is x[t] - x[t-1].
x
x[t] - x[t-1]