tseq2interval {ProcData} | R Documentation |
Transform a timestamp sequence into a inter-arrival time sequence
Description
Transform a timestamp sequence into a inter-arrival time sequence
Usage
tseq2interval(x)
Arguments
x |
a timestamp sequence |
Value
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]
.
[Package ProcData version 0.3.2 Index]