fill_value {fillr} | R Documentation |
Returns a vector with all missing values filled with another value
fill_value(x, value)
x |
vectors. All inputs should have the same length |
value |
a value with the same class as x |
vector with the same length as the first vector
fill_value(c(NA,1), 2)