hpfilter: An R Implementation of the One- and Two-Sided Hodrick-Prescott Filter
The hpfilter package | The Hodrick-Prescott Filter | Short mathematical overview | References | Functions | hp1 - the one-sided HP Filter | hp2 - the Two-Sided HP Filter | Examples | Studying the GDP cycle with a two-sided HP filter | Synthetic data example for the one-sided HP filter | About the author