fantastic. Thanks for that chunk of code. Works great! :) -- View this message in context: http://r.789695.n4.nabble.com/Derive-pattern-from-vector-tp4379312p4379402.html Sent from the R help mailing list archive at Nabble.com.