View source: R/H_time_series.R
| HTS.exponential.smoothing | R Documentation | 
(Beta verson of) Extends theexponential smoothing of a time series to a histogram time series,using L2 Wasserstein distance.
HTS.exponential.smoothing(HTS, alpha = 0.9)
HTS | 
 A   | 
alpha | 
 a number between 0 and 1 for exponential smoothing  | 
a list with the results of the smoothing procedure.
smoothing.alphathe alpha parameter
AveragedHTSThe smoothed HTS
mov.expo.smooth <- HTS.exponential.smoothing(HTS = RetHTS, alpha = 0.8)
# a show method for HTS must be implemented you can see it using
# str(mov.expo.smooth$AveragedHTS)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.