diff options
Diffstat (limited to 'ema.R')
| -rw-r--r-- | ema.R | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -0,0 +1,3 @@ + ema<-function(x, beta = 0.1, init=x[1]){
+filter(beta*x,filter = 1-beta,method = "recursive", init= init)
+}
|
![]() |
index : clo | |
| Code for CLO/CDO analytics | gitolite user |
| aboutsummaryrefslogtreecommitdiffstats |