Description Usage Arguments Value Author(s) Examples
View source: R/pub01_utilityFuncs.R
aggregate the return series into specific freq
1 | aggr.rtn(rtn, freq)
|
rtn |
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns |
freq |
An interval specification, one of "day", "week", "month", "quarter" and "year", optionally preceded by an integer and a space, or followed by "s".See |
a aggregated return series, of the same class of rtn
.
Ruifei.yin
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.