Package: stR 0.7.1.9000

stR: Seasonal Trend Decomposition Using Regression

Methods for decomposing seasonal data: STR (a Seasonal-Trend time series decomposition procedure based on Regression) and Robust STR. In some ways, STR is similar to Ridge Regression and Robust STR can be related to LASSO. They allow for multiple seasonal components, multiple linear covariates with constant, flexible and seasonal influence. Seasonal patterns (for both seasonal components and seasonal covariates) can be fractional and flexible over time; moreover they can be either strictly periodic or have a more complex topology. The methods provide confidence intervals for the estimated components. The methods can also be used for forecasting.

Authors:Alexander Dokumentov [aut], Rob Hyndman [aut, cre]

stR_0.7.1.9000.tar.gz
stR_0.7.1.9000.zip(r-4.7)stR_0.7.1.9000.zip(r-4.6)stR_0.7.1.9000.zip(r-4.5)
stR_0.7.1.9000.tgz(r-4.6-any)stR_0.7.1.9000.tgz(r-4.5-any)
stR_0.7.1.9000.tar.gz(r-4.7-any)stR_0.7.1.9000.tar.gz(r-4.6-any)
stR_0.7.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
stR/json (API)
NEWS

# Install 'stR' in R:
install.packages('stR', repos = c('https://robjhyndman.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/robjhyndman/str/issues

Pkgdown/docs site:https://pkg.robjhyndman.com

Datasets:
  • calls - Number of phone calls dataset
  • electricity - Electricity consumption dataset
  • grocery - Grocery and supermarkets turnover

On CRAN:

Conda:

7.96 score 9 stars 1 packages 1.7k scripts 701 downloads 8 exports 40 dependencies

Last updated from:c6bb49e7c6. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK207
source / vignettesOK256
linux-release-x86_64OK213
macos-release-arm64OK165
macos-oldrel-arm64OK119
windows-develOK157
windows-releaseOK139
windows-oldrelOK136
wasm-releaseOK149

Exports:AutoSTRcomponentsheuristicSTRplotBetaRSTRmodelseasadjSTRSTRmodel

Dependencies:clicodetoolscolorspacecpp11farverforeachforecastfracdiffgenericsggplot2gluegtableisobanditeratorslabelinglatticelifecyclelmtestmagrittrMASSMatrixMatrixModelsnlmennetquantregR6RColorBrewerRcppRcppArmadillorlangS7scalesSparseMsurvivaltimeDateurcavctrsviridisLitewithrzoo

Package stR

Rendered fromstRvignette.Rmdusingknitr::knitron May 17 2026.

Last update: 2025-09-03
Started: 2024-07-26