i_mav {spectrolab}R Documentation

Moving Average

Description

i_mav computes the moving average of a vector.

Usage

i_mav(x, n = 3, sides = 2)

Arguments

x

numeric vector

n

number of points going into the average

sides

TODO

Value

numeric vector

Author(s)

Jose Eduardo Meireles

References

http://stackoverflow.com/questions/743812/calculating-moving-average-in-r


[Package spectrolab version 0.0.19 Index]