Description Usage Arguments Value
Smooth a numeric vector using moving window averaging.
1 |
input |
A numeric vector of data to be smoothed. |
window |
Numeric value for the size of each "group" to be averaged. |
overlap |
Logical. Should the windows overlap (by half the window size)? |
fill.NAs |
Logical. If TRUE, only the centre point of each window is filled. Forces to TRUE if 'overlap' is TRUE. |
na.Rm |
Logical, to be passed to 'mean' function as 'na.rm'. |
A numeric vector, the same length as input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.