Skip to content

fmriAR

0.3.2Package record

Fast AR and ARMA Noise Whitening for Functional MRI (fMRI) Design and Data

0packages depend
4.3Kdownloads / year
78.4%test coverage
13/13flavors OK

Overview

About

Lightweight utilities to estimate autoregressive (AR) and autoregressive moving average (ARMA) noise models from residuals and apply matched generalized least squares to whiten functional magnetic resonance imaging (fMRI) design and data matrices. The ARMA estimator follows a classic 1982 approach doi:10.1093/biomet/69.1.81, and a restricted AR family mirrors workflows described by Cox (2012) doi:10.1016/j.neuroimage.2011.08.056.

Changes in 0.3.2
  • fit_noise() gains a censor parameter for motion scrubbing support. Censored timepoints (e.g., frames with high framewise displacement) are excluded from AR parameter estimation. Accepts either integer indices or a logical vector. The time series is segmented at censor points and ACVF is pooled across valid segments with proper length-weighting.
  • whiten() now passes censor to both fit_noise() and whiten_apply().
  • The returned fmriAR_plan object now includes the censor indices for downstream reference.
  • Fixed a bug where fit_noise(method = "ar", p = <integer>) could ignore the requested fixed AR order and still perform order selection, sometimes returning a different order.
  • Fixed parcel-mode AR fitting so fixed-order requests only trigger multiscale pooling when that mode is explicitly requested, preserving the expected non-multiscale behavior by default.
Show all changes in 0.3.2Hide the rest of the changes in 0.3.2
  • Fixed the parcel pacf_weighted multiscale path for p_target = 1, where a dimension drop could break coefficient averaging.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.3 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • ERROR13 OK, 1 ERROR2026-04-17
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.2
READMEYes · 113 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.3.2Citation fileNoWebsiteYes · pkgdown
Help pages
9 (2 internal)includes a package overview page
Examples that run
100%8 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

4.3K
CRAN downloads in the past year
Rank #8,653 · ~12/day · ~358/mo
Daily download trend is not available in this view yet.
35930 days
1.1K90 days
4.3K1 year
Compare downloads with other packages →
Also on407 r2u8 autocran

Repository

0Stars
0Forks
6Open issues
3Open PRs
0Releases
Last activity 2026-10-11 · Default branch at 0.4.2, ahead of CRAN 0.3.2 (checked 2026-10-25)
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
not measured

Issues over time

2026-07-07 · 12026-10-24 · 6
PracticesBeta

7 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/bbuchsbaum/fmriar on 2026-10-25.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-10-11 · The repository has a site deploy workflow

pkgdown site last built 2026-10-11

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-09-18
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Pull request it wrote: opened by a project member
    Commits: 7 by its own account · at least 31 crediting it in the message
  • Cursorfirst seen 2026-08-07
    Pull request it wrote: opened by a project member
    Commits: 4 by its own account
Models named in its commits
  • Claude Fable 519 commits · Aug 2026
  • Claude Opus 5.57 commits · Oct 2026
  • Claude Opus 4.52 commits · Jan 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing fmriAR adds 2 packages (2 with compiled code, 2.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB.

Depends (1)
R >= 4.0
Imports (2)
Rcppstats
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.2.0 (2025)
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.2Latest
    record
    2026-04-15 · current release · diff ↗
  • 0.3.1
    record
    2026-01-25 · diff ↗
  • 0.2.0
    record
    2025-11-03
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-11-03
Total releases
3 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.0
Download size
131 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("fmriAR")
Buchsbaum, B. (2026). fmriAR: Fast AR and ARMA Noise Whitening for Functional MRI (fMRI) Design and Data (Version 0.3.2) [Computer software]. https://doi.org/10.32614/CRAN.package.fmriAR

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.

APA

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

From data release v2026-10-26, 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