[R] how to replace <NA> values
kehld at ktk.pte.hu
Sun Jan 19 21:08:38 CET 2014
Although values are usually missing for some good reason. Changing them to 0 might be very dangerous, R is going to think that ID3, 6 and 8 are all newborn babies!
Feladó: r-help-bounces at r-project.org [r-help-bounces at r-project.org] ; meghatalmazó: kingsly [ecokingsly at yahoo.co.in]
Küldve: 2014. január 19. 20:39
To: r-help at r-project.org
Tárgy: [R] how to replace <NA> values
Dear R community
I have a large data set contain some empty cells. Because of that, may be I am wrong, <NA> values are produced.
Now I want replace both empty and <NA> values with zero.
Elder1 <- data.frame(
Output I am expecting
In advance I thank your help.
View this message in context: http://r.789695.n4.nabble.com/how-to-replace-NA-values-tp4683831.html
Sent from the R help mailing list archive at Nabble.com.
[[alternative HTML version deleted]]
More information about the R-help