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