Stlplus
Seasonal-Trend Decomposition using Loess (STL) in R
Install / Use
npx skills add hafen/stlplusInstalls into whichever agent you are using.
README
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
- Cleveland, R. B., Cleveland, W. S., McRae, J. E., & Terpenning, I. (1990). STL: A seasonal-trend decomposition procedure based on loess. Journal of Official Statistics, 6(1), 3-73.
- Hafen, R. P. "Local regression models: Advancements, applications, and new methods." (2010).
Installation
CRAN:
install.packages("stlplus")
Github:
devtools::install_github("hafen/stlplus")
License
This software is released under the BSD license. Please read the license document.
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.7kCommit, push, and open a PR
