Sample Data to Sampling Events
sampleDataToSamplingEvents(sampleData, method = "centre", default.interval.width.s = 600, signalWidth = 1)
sampleData | sample data as returned by
|
---|---|
method | one of c("left", "right", "centre") |
default.interval.width.s | default interval width in seconds |
signalWidth | interval length in seconds that a sampling action is assumed to represent. It is only used to calculate the duration D of the time interval between two samplings at t1 and t2: D = t2 - t1 + signalWidth |
data frame with columns tBeg, tEnd, ...