Learn R Programming

stlplus

This package contains enhancements to the Seasonal Trend Decomposition using Loess (STL) implementation that comes with base R, stl().

Here are some of the added features over stl():

  • Can handle NA values
  • Higher order loess smoothing (more than just local constant and linear)
  • Automated parameter choices for local quadratic
  • Frequency component smoothing beyond seasonal and trend
  • Plot methods for diagnostics

For (very) experimental inference, prediction, and variance reduction at endpoints, see the operator package.

References

Installation

devtools::install_github("hafen/stlplus")

License

This software is released under the BSD license. Please read the license document.

Copy Link

Version

Install

install.packages('stlplus')

Monthly Downloads

1,260

Version

0.5.1

License

BSD_3_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Ryan Hafen

Last Published

January 6th, 2016

Functions in stlplus (0.5.1)

plot_cycle

Cycle-Subseries Plot for an stlplus Object
stlplus

Seasonal Decomposition of Time Series by Loess
plot_seasonal

Seasonal Diagnostic Plot for an stlplus Object
seasonal

Accessor functions for elements of an stl and stlplus object
plot_rembycycle

Plot of Remainder Component by Cycle-Subseries
plot.stlplus

Lattice plot of the raw, seasonal, trend, and remainder components
plot_trend

Trend Diagnostic Plot for an stlplus Object