filter_cf {transx} | R Documentation |
Christiano-Fitzgerald Filter
Description
This function computes the cyclical component of the Christiano-Fitzgerald filter.
Usage
filter_cf(x, ...)
Arguments
x |
Univariate vector, numeric or ts object with only one dimension. |
... |
Further arguments passed to |
Examples
unemp <- ggplot2::economics$unemploy
unemp_cycle <- filter_cf(unemp)
plotx(cbind(unemp, unemp_cycle))
[Package transx version 0.0.1 Index]