fill_down: Fills NA values with previous non-NA value

View source: R/fill_down.R

fill_downR 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


gpilgrim2670/SwimmeR documentation built on March 26, 2023, 5:05 p.m.