Time Differences to Columns "pBefore" and "pAfter"
Usage
timeDifferencesToPauses(timeDifferences, signalWidth = 0)
Arguments
- timeDifferences
numeric vector representing time differences
- signalWidth
difference between two consecutive timesteps in the
original time series
Value
data frame with columns pBefore, pAfter, containing the
given timeDifferences, shifted against each other by one row, i.e.
the first element in column pBefore and the last element in column
pAfter will be NA.