moving_average | R Documentation |
This function performs QTS smoothing via moving average.
moving_average(x, window_size = 0)
## S3 method for class 'qts'
moving_average(x, window_size = 0)
## S3 method for class 'qts_sample'
moving_average(x, window_size = 0)
x |
An object of class |
window_size |
An integer value specifying the size of the sliding window
used to compute the median value. Defaults to |
An object of the same class as the input argument x
storing the
smoothed QTS.
moving_average(vespa64$igp[[1]], window_size = 5)
moving_average(vespa64$igp, window_size = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.