Thanks, it is exactly the function that I needed. -- View this message in context: http://r.789695.n4.nabble.com/Find-interval-between-numbers-in-list-or-vector-tp4376115p4378473.html Sent from the R help mailing list archive at Nabble.com.