Displaying 1 result from an estimated 1 matches for "tp20594635p20594635".
2008 Nov 20
2
how to replace NA with previous numbers
...[1] 0 0 2 2 2 5 5 6 6.
I understand how to do that with a loop but the actual vector is very long
and the loop takes too much time in R. Is there a good way to do the
replacement?
thanks a lot
Jeff
--
View this message in context: http://www.nabble.com/how-to-replace-NA-with-previous-numbers-tp20594635p20594635.html
Sent from the R help mailing list archive at Nabble.com.