For each target time, return the most-recent source value at
source_t <= target_t (LOCF). If no preceding source exists, return the
earliest source_v at source_t > target_t (LOCB). Empty source returns
fallback for all targets.
locf_value(target_t, source_t, source_v, fallback = NA_real_)numeric vector, length(target_t).
vector of target times (numeric or POSIXct).
vector of source times (same type as target_t).
numeric vector of source values, parallel to source_t.
value used when no source is available. Default NA.