Function which takes as input a 2 column matrix of half-open intervals and a vector of event times and returns the event times that intersect with the half-open intervals.
Aintersectb(A, b, A.left.open = FALSE)
Numeric vector of event times from b that intersect with A.
Two column matrix containing intervals
Vector of event times
Are the intervals in A open on the left side? Default = FALSE.