powered by
Generic functions for computing rolling means of ordered observations.
my.rollmean(y, h = 5 ,...)
Observe sequence, with length n.
integer width of the rolling window, rollmean would be used with k = h*2+1.
rollmean
k = h*2+1
Other arguments, see rollmean for details.
Vector: smooth observe sequence, with length n.
Wen, C., Zhu, J., Wang, X., and Zhang, A. (2019) L0 trend filtering, technique report.