Enhanced Seasonal Decomposition of Time Series by Loess
Overview
Decompose a time series into seasonal, trend, and remainder components using an implementation of Seasonal Decomposition of Time Series by Loess (STL) that provides several enhancements over the STL method in the stats package. These enhancements include handling missing values, providing higher order (quadratic) loess smoothing with automated parameter choices, frequency component smoothing beyond the seasonal and trend components, and some basic plot methods for diagnostics.
- Fixed Rcpp namespace import so Rcpp symbols are properly loaded at runtime
- Updated testthat comparisons against
stats::stl()to use explicit matched settings and platform-robust tolerances - Added periodic-mode regression test coverage
- Corrected centering in
plot_seasonal()so cycle-subseries are centered by the seasonal component mean - Enabled explicit native routine registration (
useDynLibwith.registration = TRUE) - Removed stale
LazyDatafield from DESCRIPTION
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-12
- ERROR9 OK, 4 NOTE, 1 ERROR2026-03-10
Documentation
- Help pages
- 7
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 33%
- Documented parameters
- 27%
- Return-value docs
- 100%
- Help pages citing references
- 100%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/hafen/stlplus on 2026-10-21.
Dependencies
Installing stlplus adds 2 packages (2 with compiled code, 2.1 MB of source tarballs). Heaviest: Rcpp 1.8 MB, yaImpute 277 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.5.2Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 0.5.12016-01-06
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2016-01-06
- Total releases
- 2 / 10 yrs
- License
- BSD_3_clause + file LICENSE OSI
- Download size
- 22 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("stlplus")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.