R/07-filter.R
filter_bw.Rd
This function computes the cyclical component of the Butterworth filter.
filter_bw(x, ...)
[univariate vector]
Univariate vector, numeric or ts object with only one dimension.
Further arguments passed to bwfilter.
bwfilter
# \donttest{ unemp <- ggplot2::economics$unemploy unemp_cycle <- filter_bw(unemp, freq = 10) plotx(cbind(unemp, unemp_cycle)) # }