View source: R/peaks finding.R
moving_av | R Documentation |
The function calculate the moving average of an array of numbers and add NAs in the end to have the same number of arguments.
moving_av(x, smooth)
x |
a numerical array. |
smooth |
the smooth parameter is used to smooth the descriptive curve and avoid the inclusion of very small differences in values. The default (advised) is 10. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.