Learn R Programming

Convolutioner (version 0.1.0)

sine: Sine window filter.

Description

This function return the data smoothed using the a sine window filter.

Usage

sine(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 coefficients of the Hann window

Value

Smoothed data using Hann Window filter

Examples

Run this code
# NOT RUN {
raw_data = c(1:100)
smoothed_data = sine(raw_data)

# }

Run the code above in your browser using DataLab