Package: Rtractor 0.1.0

Lucas França

Rtractor: Complexity and Nonlinear Time Series Analysis for Physiological Signals

A staging- and signal-agnostic toolkit of complex systems measures for physiological time series: entropy (sample, permutation, approximate), fractal and multifractal analysis (Higuchi dimension, DFA, MFDFA), Lyapunov exponents, multiscale entropy, and recurrence quantification analysis. Core algorithms wrap established C/C++/Fortran reference implementations rather than reimplementing them in pure R, to preserve numerical parity with the original methods literature. Some wrapped reference implementations are GPL-licensed (see inst/COPYRIGHTS), which is why the package as a whole is licensed GPL (>= 2) rather than MIT. Designed to sit underneath other Circadia Lab and CoDe-Neuro Lab packages (mrpheus, hypnoR, zeitR, dynR) as a shared complexity-metrics layer, while remaining fully usable standalone on any numeric time series.

Authors:Lucas França [aut, cre], Mario Leocadio-Miguel [aut]

Rtractor_0.1.0.tar.gz
Rtractor_0.1.0.zip(r-4.7)Rtractor_0.1.0.zip(r-4.6)Rtractor_0.1.0.zip(r-4.5)
Rtractor_0.1.0.tgz(r-4.6-x86_64)Rtractor_0.1.0.tgz(r-4.6-arm64)Rtractor_0.1.0.tgz(r-4.5-x86_64)Rtractor_0.1.0.tgz(r-4.5-arm64)
Rtractor_0.1.0.tar.gz(r-4.7-arm64)Rtractor_0.1.0.tar.gz(r-4.7-x86_64)Rtractor_0.1.0.tar.gz(r-4.6-arm64)Rtractor_0.1.0.tar.gz(r-4.6-x86_64)
Rtractor_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
Rtractor/json (API)

# Install 'Rtractor' in R:
install.packages('Rtractor', repos = c('https://circadia-bio.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/circadia-bio/rtractor/issues

Pkgdown/docs site:https://rtractor.circadia-lab.uk

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

3.18 score 21 exports 1 dependencies

Last updated from:5243c7c857 (on v0.1.0). Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK167
linux-devel-x86_64OK177
source / vignettesOK246
linux-release-arm64OK162
linux-release-x86_64OK171
macos-release-arm64OK130
macos-release-x86_64OK182
macos-oldrel-arm64OK137
macos-oldrel-x86_64OK228
windows-develOK118
windows-releaseOK127
windows-oldrelOK133
wasm-releaseOK145

Exports:chhabra_jensendfahiguchi_fdhjorth_parametersmfdmamultiscale_entropynum_zerocrossperm_entropypetrosian_fdpmodelrecurrence_microstate_entropyrtractor_palettertractor_palettessample_entropyscale_color_rtractorscale_color_rtractor_cscale_colour_rtractorscale_colour_rtractor_cscale_fill_rtractorscale_fill_rtractor_ctheme_rtractor

Dependencies:Rcpp

Entropy and multiscale complexity
Three entropy measures, three different questions | Sample entropy: template matching | Why one number isn't enough: the multiscale idea | Choosing m and r | References

Last update: 2026-07-12
Started: 2026-07-12

Getting started with Rtractor
Overview | Installation | Example data | Fractal & multifractal analysis | Detrended Fluctuation Analysis | Higuchi Fractal Dimension | Multifractal Detrending Moving Average (MFDMA) | Chhabra-Jensen multifractal spectrum | Nonlinear time-domain features | Entropy | Recurrence quantification analysis (RQA) | Simulating test signals | Colour palette & theme | What isn't here yet

Last update: 2026-07-12
Started: 2026-07-12

Multifractal methods: MFDMA vs Chhabra-Jensen
Two estimators, one underlying idea | Ground truth, not just plausible-looking data | MFDMA on the ground-truth series | Chhabra-Jensen on the same series | Which one should I use? | References

Last update: 2026-07-12
Started: 2026-07-12