Description Usage Arguments Examples
Fill missing returns in a vector
1 | .na_ret(x, rpl)
|
x |
vector of returns |
rpl |
value to replace NA values |
1 2 3 | x <- 1:10
x[3] <- NA
fill_na(x, 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.