smooth.fft: Apply a low pass filter

Description Usage Arguments Details Value Examples

View source: R/itsmr.R

Description

Apply a low pass filter

Usage

1
smooth.fft(x, f)

Arguments

x

Time series data

f

Cut-off frequency, 0-1

Details

The cut-off frequency is specified as a fraction. For example, c=.25 passes the lowest 25% of the spectrum.

Value

Returns a vector the same length as x.

Examples

1
2

Example output



itsmr documentation built on Sept. 11, 2018, 1:05 a.m.