fill_value: fill missing value

View source: R/fill.R

fill_valueR 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)

vvfiller documentation built on Feb. 16, 2023, 6:55 p.m.