View source: R/internal_utils.R
i_mav | R Documentation |
i_mav
computes the moving average of a vector.
i_mav(x, n = 3, sides = 2)
x |
numeric vector |
n |
number of points going into the average |
sides |
TODO |
numeric vector
Jose Eduardo Meireles
http://stackoverflow.com/questions/743812/calculating-moving-average-in-r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.