Description Usage Arguments Value Examples
fill NA with constant value or function
1 | util.fill.na(x, fill.with = 0)
|
x |
input array |
fill.with |
constant value or function |
array with filled na
1 2 | util.fill.na(c(rnorm(10), NA), fill.with = 100)
util.fill.na(c(rnorm(10), NA), fill.with = length)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.