RMS {Convolutioner}R Documentation

Running median smoothing.

Description

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.

Usage

RMS(raw_data, buffer_size = 5)

Arguments

raw_data

Data upon which the algorithm is applied

buffer_size

number of points the algorithm use to compute the median

Value

Smoothed data using running median algorithm

Examples

raw_data = c(1:100)
smoothed_data = RMS(raw_data)


[Package Convolutioner version 0.1.0 Index]