Description Usage Arguments Value Note
Change frequency in time-series with missing values
1 | change_freq_na(x, period, dtype)
|
x |
xts object |
period |
character to represent desired frequency |
dtype |
character to specify if |
xts object with new period
The missing values are filled with either 0
for returns and the
most recent (i.e., lagged) non-missing value for prices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.