works perfectly. Thank you :-) -- View this message in context: http://r.789695.n4.nabble.com/Convert-negativ-number-to-0-tp4653529p4653532.html Sent from the R help mailing list archive at Nabble.com.