Skip to content

deseats

1.1.2

Data-Driven Locally Weighted Regression for Trend and Seasonality in TS

0packages depend
5.4Kdownloads / year
10.7%test coverage
13/13checks pass

Overview

About
Maintained by Dominik SchulzFirst published 2023-11-084 releasesCRAN page ↗

Various methods for the identification of trend and seasonal components in time series (TS) are provided. Among them is a data-driven locally weighted regression approach with automatically selected bandwidth for equidistant short-memory time series. The approach is a combination / extension of the algorithms by Feng (2013) doi:10.1080/02664763.2012.740626 and Feng, Y., Gries, T., and Fritz, M. (2020) doi:10.1080/10485252.2020.1759598 and a brief description of this new method is provided in the package documentation. Furthermore, the package allows its users to apply the base model of the Berlin procedure, version 4.1, as described in Speth (2004) https://www.destatis.de/DE/Methoden/Saisonbereinigung/BV41-methodenbericht-Heft3_2004.pdf?__blob=publicationFile. Permission to include this procedure was kindly provided by the Federal Statistical Office of Germany.

Install

Health

CRAN checks
13OK
Slowest check: 4.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.05
10.7%
Coverage · measured lines
100%
Documentation · exports
17
Dependencies · direct
Check history
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 386 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
56%
Documented parameters
96%
Return-value docs
100%
References docs
8%

Downloads

5.4K
CRAN downloads in the past year
Rank #5,659 · ~15/day · ~454/mo
Daily download trend is not available in this view yet.
45730 days
1.7K90 days
5.4K1 year
Compare downloads with other packages →
Also on436 r2u35 autocran27 c2d4u

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)
Depends (2)
R >= 2.10methods
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 6,127 (55%)Rd 3,363 (30%)C++ 1,536 (14%)Vignettes 118 (1%)
Code characteristics
Object systems
S4 class10S4 generic16S4 method33
Cyclomatic complexity
1.0 median / 26 max
Test cases
20 / 0.05 per code line

Test coverage

Line coverage

11%

Expression

12.6%

Tests / Examples

10.7% / 45% ex

Functions

149 22 exported

Complexity

2.4 avg / 26 max

Call network

149 nodes / 111 edges

Loading call graph…

Lowest coverage

149 functions
FunctionCycloCoverage
bwidth_confint exp80%
create.gain exp20%
create_gain exp20%
deseats exp110%
hA_calc exp110%
hamilton_filter exp20%

Datasets

Bundled datasets · 10
NameClassRows × ColsAlso ships in
CIVLABORts
COVIDts
DEATHSts
EXPENDITURESts
LIVEBIRTHSts
NOLABORFORCEts
RAINFALLts
SAVINGSts
SUNSHINEts
TEMPERATUREts

1 internal object is bundled for the package's own use and not listed here.

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.2Latest
    2026-03-16 · current release · diff ↗
  • 1.1.1
    2025-06-23 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.0
    2024-07-12 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.0
    2023-11-08
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-11-08
Total releases
4 / 3 yrs
License
GPL-3 OSI
Minimum R
≥ 2.10
Bundled data
28 KB / 15 files
Download size
259 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →