rollmean | R Documentation |
Gaussian smoothing
rollmean(x, size)
x |
Numeric vector. |
size |
Radius of the smoothing (smaller than half of the length of |
Numeric vector of the same length as x
, smoothed.
(x <- rnorm(10))
rollmean(x, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.