Calculates event borders (event begin, event end) considering "parallel" events2. The returned results not ending after events1. For each event E in events1 (defined by event number, event begin and event end time), this function first identifies the "partner" events E2,i from events2 that lie within E or have an intersecton with E. There may be no, one ore more than one "partner" events.
getParallelEventNotEndingAfter(events1, events2, eventRelations,
extended = FALSE)
data frame containing the reference events, e.g. discharge events
parallel events, e.g. rain events
event relations as returned by
getEventRelations
if TRUE
, the output contains more columns as the
minimum columns that are containd else: event1
, tBeg.merged
,
tEnd.merged
, event2first
, event2last