Displaying 1 result from an estimated 1 matches for "replacena".
Did you mean:
replaced
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?