smooth.fft | R Documentation |
Apply a low pass filter
smooth.fft(x, f)
x |
Time series data |
f |
Cut-off frequency, 0-1 |
The cut-off frequency is specified as a fraction.
For example, c=.25
passes the lowest 25% of the spectrum.
Returns a vector the same length as x
.
y = smooth.fft(deaths,.1) plotc(deaths,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.