powered by
This function computes the cyclical component of the Christiano-Fitzgerald filter.
filter_cf(x, ...)
[univariate vector]
Univariate vector, numeric or ts object with only one dimension.
Further arguments passed to cffilter.
cffilter
# NOT RUN { unemp <- ggplot2::economics$unemploy unemp_cycle <- filter_cf(unemp) plotx(cbind(unemp, unemp_cycle)) # }
Run the code above in your browser using DataLab