rollmean {bigutilsr} | R Documentation |
Gaussian smoothing
Description
Gaussian smoothing
Usage
rollmean(x, size)
Arguments
x |
Numeric vector. |
size |
Radius of the smoothing (smaller than half of the length of |
Value
Numeric vector of the same length as x
, smoothed.
Examples
(x <- rnorm(10))
rollmean(x, 3)
[Package bigutilsr version 0.3.4 Index]