Description Usage Arguments Details Value See Also
Change time-series frequency
1 | changeFreq(ret, freq, data_type = c("return", "level"))
|
ret |
time-series in a data.frame or tibble |
freq |
frequency character |
data_type |
ret or price |
changeFreq
converts a price or return time-series to a higher
latency frequency (e.g., daily to monthly). Use the first character of the
desired frequency. data_type
is specified as either
ret or price depending on if the time-series are
higher latency time-series
Other return time-series:
checkRet()
,
getIncept()
,
priceToRet()
,
rebal()
,
retToPrice()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.