gapHP {RGAP} | R Documentation |
Computes a HP filtered output gap.
gapHP(x, lambda = NULL, end = NULL, start = NULL)
x |
A time series object containing gdp. |
lambda |
The smoothing parameter for the application of the HP filter. If not supplied,
|
end |
(optional) A two element vector containing a year and a period specifying the end point for the filter application. |
start |
(optional) A two element vector containing a year and a period specifying the start point for the filter application. |
Object of class gap
, which is a list containing the two elements potential
and
gap
and additionally the original time series.