timeDifferencesToPauses: Time Differences to Columns "pBefore" and "pAfter"

View source: R/eventMain.R

timeDifferencesToPausesR Documentation

Time Differences to Columns "pBefore" and "pAfter"

Description

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.


KWB-R/kwb.event documentation built on June 14, 2022, 1:15 p.m.