Skip to content

BTWAR

1.0.1Package record

Butterworth-Induced Autoregressive Model

0packages depend
3Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

Implements the Butterworth-Induced Autoregressive ('BTWAR') model, where autoregressive coefficients are obtained from analog Butterworth filter prototypes mapped into the discrete-time domain using the Matched Z-Transform. The framework establishes a structured connection between frequency-domain filter design and time-domain autoregressive modeling. Model order selection is performed via nested rolling-origin cross-validation. Method described in Bras-Geraldes, Rocha and Martins (2026) doi:10.3390/math14030479.

Changes in 1.0.1

Bug fixes

  • Fixed a bug in plot_bode() where the frequency axis was linearly spaced instead of log-spaced, causing distortion on the logarithmic scale.

New features

  • Added plot_freq_amplitude() to display the frequency amplitude spectrum of a time series with reference lines at the cutoff and Nyquist frequencies.

Documentation

  • Fixed example in poles_AR() where fit object was not defined.
  • Updated all plot function examples to use simulate_ar_split() for consistency with the vignette.
  • Removed set.seed() calls from examples.
  • Replaced all \dontrun{} with \donttest{} throughout the package.
Show all changes in 1.0.1Hide the rest of the changes in 1.0.1
  • Added DOI reference in DESCRIPTION.
  • Removed single quotes from non-software terms in DESCRIPTION.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK5 OK2026-03-20
Advisories

none known

Documentation

In release 1.0.1
READMENoVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.1Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
20
Examples that run
62%8 run in a plain check · 5 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
99%
Return-value docs
100%
Help pages citing references
0%

Downloads

3K
CRAN downloads in the past year
Rank #10,988 · ~8/day · ~249/mo
Daily download trend is not available in this view yet.
39430 days
94990 days
3K1 year
Compare downloads with other packages →
Also on48 r2u11 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
1Releases
26Commits
1Commit identities
26 commits · Last activity 2026-03-15
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Releases over time

2026-03-15 · 12026-07-07 · 1
PracticesBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/cgeraldes/btwar on 2026-10-11.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing BTWAR adds 26 packages (14 with compiled code, 18 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 1.0.1 (2026), Copyright holder
Author, Copyright holder
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    2026-03-19 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-03-19
Total releases
1 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Download size
309 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("BTWAR")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.3390/math14030479.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for BTWAR version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy