powered by
This function computes the cyclical component of the Baxter-King filter.
filter_bk(x, fill = NA, ...)
[univariate vector]
Univariate vector, numeric or ts object with only one dimension.
[numeric or function: NA]
Numeric value(s) or function used to fill observations.
Further arguments passed to bkfilter.
bkfilter
# NOT RUN { unemp <- ggplot2::economics$unemploy unemp_cycle <- filter_bk(unemp) plotx(cbind(unemp, unemp_cycle)) # }
Run the code above in your browser using DataLab