powered by
This function performs QTS smoothing via moving average.
moving_average(x, window_size = 0)# S3 method for qts moving_average(x, window_size = 0)# S3 method for qts_sample moving_average(x, window_size = 0)
# S3 method for qts moving_average(x, window_size = 0)
# S3 method for qts_sample moving_average(x, window_size = 0)
An object of the same class as the input argument x storing the smoothed QTS.
x
An object of class qts or qts_sample.
qts
qts_sample
An integer value specifying the size of the sliding window used to compute the median value. Defaults to 0L.
0L
moving_average(vespa64$igp[[1]], window_size = 5) moving_average(vespa64$igp, window_size = 5)
Run the code above in your browser using DataLab