Description Usage Arguments Examples
Regularize the index of a daily xts by adding NAs to non-existent days
1 | Regularize(xts)
|
xts |
the xts object to regularize |
1 2 3 4 | library(Quandl)
library(magrittr)
Quandl("GOOG/VTX_UBSN", type = "xts", force_irregular = TRUE) %>%
Regularize %>% na.locf -> ubs
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.