Learn R Programming

spectrolab (version 0.0.18)

i_mav: Moving Average

Description

i_mav computes the moving average of a vector.

Usage

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

Value

numeric vector

Arguments

x

numeric vector

n

number of points going into the average

sides

TODO

Author

Jose Eduardo Meireles

References

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