fill_down {SwimmeR}R Documentation

Fills NA values with previous non-NA value

Description

This is a base approximation of tidyr::fill()

Usage

fill_down(x)

Arguments

x

a list having some number of non-NA values

Value

a list where NA values have been replaced with the closest previous non-NA value

See Also

fill_down is a helper function inside lines_sort


[Package SwimmeR version 0.14.2 Index]