I need help with replacing NaN with zero (the value '0') in my dataset. How can I do this? Thanks Garima Sharma -- View this message in context: http://r.789695.n4.nabble.com/Replace-NaN-with-0-tp4514894p4514894.html Sent from the R help mailing list archive at Nabble.com.
Hi, try ?is.nan Regards ----- Mail original ----- De?: garima_sharma <garima1234sharma at gmail.com> ??: r-help at r-project.org Cc?: Envoy? le : Jeudi 29 mars 2012 18h19 Objet?: [R] Replace NaN with 0 I need help with replacing NaN with zero (the value '0') in my dataset. How can I do this? Thanks Garima Sharma -- View this message in context: http://r.789695.n4.nabble.com/Replace-NaN-with-0-tp4514894p4514894.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
On Mar 29, 2012, at 5:19 AM, garima_sharma wrote:> I need help with replacing NaN with zero (the value '0') in my > dataset. > > How can I do this?Search on: "replace NaN with zero" http://markmail.org/search/?q=list%3Aorg.r-project.r-help+%22replace+NaN+with+zero%22 -- David Winsemius, MD West Hartford, CT