Skip to contents

This function replaces NA values with the nearest above value.

Usage

fill_NA(x)

Arguments

x

vector

Value

Vector with NA values replaced with the nearest above value

Examples

xx %>% mutate(Column1 = fill_NA(Column1))
#> Error: object 'xx' not found