Convert to Data Frame of Events
toEvents(events, signalWidth = .getSignalWidth(events, default = NA),
timeUnit = "s", pause = TRUE, timeDifferences = NULL)
data frame with columns tBeg (event begins) and tEnd (event ends)
see description in hsEvents
time unit of event duration and event pauses
if TRUE, pauses before and after the events are calculated
if time differences have been calculated beforehand, these may be given here (in seconds)