Displaying 2 results from an estimated 2 matches for "tp2125458p2125464".
2010 May 04
7
How to replace all <NA> values in a data.frame with another ( not 0) value
I need to replace <NA> occurrences in multiple columns in a data.frame
with "000/000"
how do I achieve this?
Thanks
Nevil Amos
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...ext/plain; charset=us-ascii
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.
------------------------------
Message: 17
Date: Tue, 4 May 2010 08:05:24 -0500
From: Frank E Harrell Jr <f.harrell at Vanderbilt.Edu>
To: <r-help at r-project.org>
Subject: Re: [R] aregImpute (Hmisc package) : error in m...