fill_value {vvfiller}R Documentation

fill missing value

Description

Returns a vector with all missing values filled with another value

Usage

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

fill_value(c(NA,1), 2)

[Package vvfiller version 0.6.7 Index]