Wayne Jones wrote: >Does anyone know if R has the functionality to calculate a simple moving >average. I cant seem to find it in the help menu. does filter() do what you need? Morten