[R] overlapping intervals

Charles C. Berry cberry at tajo.ucsd.edu
Fri Feb 1 22:24:21 CET 2008


On Fri, 1 Feb 2008, mohamed nur anisah wrote:

> hi!!
>
>  Below I have 4 columns vector of c and d which are unequal in
>  length.These c and d have 2 columns each where these 2 columns
>  represent an interval values. How am I going to get an overlapping over
>  these interval values?? Please help me sort this problem!! Thanks in
>  advance..

Perhaps this is what you need:

 	http://finzi.psych.upenn.edu/R/Rhelp02a/archive/60815.html


If not, you should repost showing what you think the answer should be for 
your problem below.

HTH,

Chuck


>
>             c                                   d
>  17130612   17587118     17712302   18100404
> 17712302   18221688     21203780   21387314
> 21225764   21387314     25012714   30748348
> 25012714   30748348     33852816   34384588
> 33852816   34480192     34794536   35996440
> 36012944   36209144
> 36252300   36280276
> 36737468   36971144
> 43693832   43878548
>
>
> ---------------------------------
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901



More information about the R-help mailing list