Thank you for replies. I sort out the problem by defining the reassign matrix. Best Wishes, efulas -- View this message in context: http://r.789695.n4.nabble.com/Repeating-tp4614371p4615072.html Sent from the R help mailing list archive at Nabble.com.