Description Usage Arguments Value
mean_smooth Smooth using a flat window
1 | mean_smooth(x, window = 11)
|
x |
vector of values |
window |
size of window for smoothing |
returns vector of size x that has been smoothed. For values at edge, mean is for window included in x. (i.e. for fist value, smoothed valued is mean of that value and the window/2 values after)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.