fill_value: fill missing value

Description Usage Arguments Value Examples

View source: R/fill_value.R

Description

Returns a vector with all missing values filled with another value

Usage

1
fill_value(x, value)

Arguments

x

vectors. All inputs should have the same length

value

a value with the same class as x

Value

vector with the same length as the first vector

Examples

1
fill_value(c(NA,1), 2)

jelger12/fillr documentation built on Jan. 29, 2020, 3:35 p.m.