lmmresample: Resampling Inference for Mixed Models of Densely Sampled Time Series

Permutation and bootstrap inference for linear and linear mixed-effects models fitted to block-structured repeated measurements, such as densely sampled physiological time series (pupillometry, eye movements, EEG, fNIRS, heart rate, electrodermal activity, electromyography) or features extracted from them per trial or per participant. Resampling operates on whole trials or participants, so dependence within blocks is preserved. Provides permutation tests under user-declared exchangeability, simulation-based calibration of the permutation null, family-wise error control with the max-t procedure, pairwise comparisons between factor levels, bootstrap confidence intervals (expanded percentile for few clusters, percentile, bias-corrected and accelerated, and basic) and leave-one-subject-out diagnostics.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: cli, future.apply, generics, lme4, Matrix, reformulas, rlang (≥ 1.0.0), stats
Suggests: future, ggplot2, knitr, progressr, rmarkdown, splines, testthat (≥ 3.0.0)
Published: 2026-11-19
DOI: 10.32614/CRAN.package.lmmresample (may not be active yet)
Author: Ricardo Martínez-Flores ORCID iD [aut, cre], Hans Supèr [aut]
Maintainer: Ricardo Martínez-Flores <ricardo.antonio.martinezf at gmail.com>
BugReports: https://github.com/ricardo-martinez-flores/lmmresample/issues
License: MIT + file LICENSE
URL: https://github.com/ricardo-martinez-flores/lmmresample
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: lmmresample results

Documentation:

Reference manual: lmmresample.html , lmmresample.pdf
Vignettes: Getting started with lmmresample (source)
Families of tests and pairwise comparisons (source)
Time courses (source)

Downloads:

Package source: lmmresample_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=lmmresample to link to this page.