This function gives the floating median with a given number of data points
1 | floatingMedian(data, l = 6, clear.outliers = FALSE, pad = FALSE)
|
data |
vector of data |
l |
number of points to be averaged |
clear.outliers |
Boolean |
pad |
boolean whether NA should be added in front and in the back to maintain the same length |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.