[R] How to replace all <NA> values in a data.frame with another ( not 0) value

Lanna Jin lannajin at gmail.com
Tue May 4 15:02:29 CEST 2010


Try: "x[which(is.na(x)),] <- 000/000", where is  x is your data frame

-----
Lanna Jin

lannajin at gmail.com
510-898-8525
-- 
View this message in context: http://r.789695.n4.nabble.com/How-to-replace-all-NA-values-in-a-data-frame-with-another-not-0-value-tp2125458p2125464.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list