henderson | R Documentation |
Apply Henderson Linear Filter
henderson(x, length, musgrave = TRUE, ic = 4.5)
x |
input time-series. |
length |
length of the Henderson filter. |
musgrave |
boolean indicating if musgrave asymmetric filters should be used. |
ic |
ic ratio. |
the target signal.
x <- retailsa$AllOtherGenMerchandiseStores
trend <- henderson(x, length = 13)
plot(x)
lines(trend, col = "red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.