powered by
Return the last finite observation of `x`
last_obs(x)
data potentially with non-finite values
The last finite observation
# NOT RUN { last_obs(c(NA,1,2,3,NA,5,NA,7,NA,NA)) ## 7 # }
Run the code above in your browser using DataLab