Skip to content

BTWAR

Butterworth-Induced Autoregressive Model

v1.0.1 · Mar 19, 2026 · GPL-3

Description

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>.

Downloads

CRAN

461

Last 30 days

9030th

1.5K

Last 90 days

1.9K

Last year

Trend: -1.1% (30d vs prior 30d)

r2u CRAN

1

Last 30 days

22

Last 90 days

33

Last year

Trend: -85.7% (30d vs prior 30d)

autoCRAN

14

Last 7 days

75

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 5 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 19, 2026

Code

Structure

Lines of code

3,281

Files

44

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,896 (57.8%)Tests 3 (0.1%)Docs 1,020 (31.1%)Vignettes 362 (11%)

API

Exported functions

12

Internal functions

16

Recent export changes

v1.0.1+12 apply_stationarity, btwar_fit, compute_spectrum +9 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

38.5%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

1

First release

2026-03-19

Latest release

2026-03-19

Avg cadence

Cold removal rate

Dep drift

0

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies ggplot2 pracma tseries scales BTWAR

Version History

1 tracked
new 1.0.1 Mar 19, 2026