filter_bw: Butterworth Filter

Description Usage Arguments Examples

View source: R/07-filter.R

Description

Maturing lifecycle

This function computes the cyclical component of the Butterworth filter.

Usage

1

Arguments

x

[univariate vector]

Univariate vector, numeric or ts object with only one dimension.

...

Further arguments passed to bwfilter.

Examples

1
2
3
unemp <- ggplot2::economics$unemploy
unemp_cycle <- filter_bw(unemp, freq = 10)
plotx(cbind(unemp, unemp_cycle))

transx documentation built on Nov. 27, 2020, 5:08 p.m.