movingSEM | R Documentation |
Calculates the moving / rolling standard error of the mean (SEM) on a numeric vector.
movingSEM(x, oneSide = 5)
x |
A numeric vector. |
oneSide |
The size of the moving window, in terms of the number of elements on either side of the current element. |
A vector of the same length as x
, containing the SEMs for each element.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.