Displaying 2 results from an estimated 2 matches for "tp2125458p2125509".
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
...0) value
Message-ID: <1272979538232-2125509.post at n4.nabble.com>
Content-Type: text/plain; charset=us-ascii
try x[is.na(x)] <- "000/000"
Bart
--
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-tp2125458p2125509.html
Sent from the R help mailing list archive at Nabble.com.
------------------------------
Message: 25
Date: Tue, 4 May 2010 06:29:49 -0700 (PDT)
From: John Kane <jrkrideau at yahoo.ca>
To: r-help at r-project.org, someone <vonhoffen at t-online.de>
Subject: Re: [R] Show number at...