smooth.rank | R Documentation |
Apply a spectral filter
smooth.rank(x, k)
x |
Time series data |
k |
Number of frequencies |
Passes the mean and the k
frequencies with the highest amplitude.
The remainder of the spectrum is filtered out.
Returns a vector the same length as x
.
y = smooth.rank(deaths,2) plotc(deaths,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.