Builds weights with geometric truncated decay
1 2 | get_meanRet_from_dlyChg(dlyChg, method = "geometric", halflife = NULL,
interval = c(1e-06, 0.999999), annualization_factor = 1)
|
dlyChg |
xts that contains daily changes |
method |
either 'arithmetic' or 'geometric' |
halflife |
number of days that accumulate 0.5 density |
interval |
as in uniroot |
annualization_factor |
in days (252 days in a year) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.