ema | R Documentation |
Exponentially weighted sample average. Past data has exponentially decaying weights.
ema(x, lambda = 0.94, h = 1/252)
x |
data-set |
lambda |
weight parameter (near 0 corresponds to sample mean) |
h |
timescale |
numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.