Returns a vector with all missing values filled with another value
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] 2 1