Last observation carry forward (non NA values)

Last observation carry forward (non NA values)

aux_na_locf(x, T = NULL)

Arguments

x

Vector to process

T

optional "TIME" vector allowing to handle cases were carry backward needs to be done as non-NA values happen at same time but later indices in x vector

Value

Vector with non-NA values carried forward

See also