Skip to content

Function mvavg

Calculate the moving average of a serie.

Parameters

  • serie
  • position Can be left, center, right. Default center.
  • window The number of elements to take. Default 3

Syntax

mvavg(serie, position, window)