powered by
Applies the Hodrick Prescott Filter.
hpfilter(x, lambda)
A univariate time series object containing the trend of the original time series.
A univariate time series object.
The smoothing parameter.