Thank you Jim, Steve and David. I found findIntervals to work best for my problem. Manuel -- View this message in context: http://r.789695.n4.nabble.com/Number-in-interval-tp3673537p3674969.html Sent from the R help mailing list archive at Nabble.com.