1

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.

Community
  • 1
  • 1
user236215
  • 7,278
  • 23
  • 59
  • 87

1 Answers1

0

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