fill_value {fillr} | 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 fillr version 1.0.0 Index]