Thanks for the help. problem is solved. :-) -- View this message in context: http://r.789695.n4.nabble.com/find-max-value-in-different-columns-tp4685905p4685912.html Sent from the R help mailing list archive at Nabble.com.