Join consecutive events in event list evts. The result of joining two events A and B is a event with begin time of A and end time of B.
Arguments
- evts
data frame containing events as provided by e.g. hsEvents
- ...
numeric vectors containing the event numbers to be joined, e.g. 5:10, 15:20 will join events 5 to 10 and 15 to 20 to one event in each case
- renumber
if TRUE, rows in result data frame are renumbered from one to number of rows.
- dbg
if
TRUE
, debug messages are shown.