Nice! Exactly what I was looking for. I just needed to call the rows in both vector arguments. Thanks, MVS -- View this message in context: http://r.789695.n4.nabble.com/Changing-NA-to-0-in-selected-columns-of-a-dataframe-tp4645917p4645949.html Sent from the R help mailing list archive at Nabble.com.