[R] Finding regions of overlap

Sean Davis sdavis2 at mail.nih.gov
Fri Aug 12 15:35:00 CEST 2005


On 8/12/05 9:30 AM, "Liaw, Andy" <andy_liaw at merck.com> wrote:

> Am I missing something?  It seems quite easy to me:
> 
> Suppose the intervals are (l1, u1), (l2, u2), ..., (ln, un).  The
> intersection, if non-empty, would be (max(l1, ..., ln), min(u1, ..., un)),
> and the union (min(l1, ..., ln), max(u1, ..., un)).

Another coffee for me?

Thanks, Andy.

Sean




More information about the R-help mailing list