Re: [R] Finding regions of overlap

From: Sean Davis <sdavis2_at_mail.nih.gov>
Date: Fri 12 Aug 2005 - 23:35:00 EST


On 8/12/05 9:30 AM, "Liaw, Andy" <andy_liaw@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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Aug 12 23:40:25 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:16:27 EST