Description Usage Arguments Value
Replaces NA values in a vector with a value, 0 by default. This is really just a convinence wrapper around replace() to minimize typing.
1 | fillna(x, fill = 0)
|
x |
a vector with NA values to be filled |
fill |
a value to replace any NA values in x. Note that if the class of fill does not match the class of x, x will be coerced to an acceptable class. |
a vector with length of x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.