开发者

moving averages in R [duplicate]

开发者 https://www.devze.com 2023-02-21 11:28 出处:网络
This question already has answers here: 开发者_C百科 Closed 11 years ago. Possible Duplicate: Calculating moving average in R
This question already has answers here: 开发者_C百科 Closed 11 years ago.

Possible Duplicate:

Calculating moving average in R

Is there a function to compute leading, lagging, central moving averages in R similar to matlab? I was trying to use the filter function but can't get my head around it.


I've used the SMA function in the TTR package.

0

精彩评论

暂无评论...
验证码 换一张
取 消