Description Usage Arguments Value Examples
Returns a vector with all missing values filled with another value
1 | 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
1 | fill_value(c(NA,1), 2)
|
[1] 2 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.