Displaying 1 result from an estimated 1 matches for "ina1".
Did you mean:
ina
2005 Jun 07
3
without a loop
tmp <- c(-1,NA,NA,1,1,NA,NA,1)
without using a loop, how can I replace all NAs in the list above with
the previous none NA value in the list?