R/na_locf.R
na_locf.Rd
Inspired by zoo::na.locf0
na_locf(object, fromLast = FALSE)
an object
logical. Causes observations to be carried backward rather than forward. Default is FALSE.
Original object with NAs filled in