RMS {Convolutioner} | R Documentation |
This function return the data smoothed using the running median algorithm. For each chunk of data of size equal to the buffer_size parameter is calculated the median and this value is used as the i term of the newly smoothed data. For initial and final values zero padding is applied.
RMS(raw_data, buffer_size = 5)
raw_data |
Data upon which the algorithm is applied |
buffer_size |
number of points the algorithm use to compute the median |
Smoothed data using running median algorithm
raw_data = c(1:100) smoothed_data = RMS(raw_data)