i_mav: Moving Average

View source: R/internal_utils.R

i_mavR 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


spectrolab documentation built on Feb. 16, 2023, 10:27 p.m.