Rhythmic Patterns Modeling by FMM Models
Overview
Provides a collection of functions to fit and explore single, multi-component and restricted Frequency Modulated Moebius (FMM) models. 'FMM' is a nonlinear parametric regression model capable of fitting non-sinusoidal shapes in rhythmic patterns. Details about the mathematical formulation of 'FMM' models can be found in Rueda et al. (2019) doi:10.1038/s41598-019-54569-1.
Enhancements:
- Improved convergence behavior of the
fitFMM_back()significantly reduces the number of iterations needed to reach a good solution. - Clarified the warning message issued when high amplitude values are detected.
Changes:
- Fixed a bug in the construction of the logarithmic omega grid:
exp(log(omegaMin))did not matchomegaMinexactly due to floating point precision. The grid is now constructed usingL + 2points, and the first and last are removed. - Internal code restructuring:
calculateSingleCosPhi()was separated fromcalculateCosPhi(), and a new functioncalculateDesignMatrix()was added. - The
show()method forFMMobjects is now registered by default. The previous manual call toaddShowMethod()is no longer needed.
New features:
- Added a new internal function:
mobius(), used in the updated optimization routine. - Added dependency on the
gsignalpackage (used for thehilbert()function).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 14 (1 internal)includes a package overview page
- Examples that run
- 100%11 run in a plain check
- Exported functions with examples
- 83%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 57%
Downloads
Repository
- 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
Stars over time
Forks over time
Releases over time
Issues over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/fmmgroupva/fmm-base-r-package on 2026-10-18.
Dependencies
Installing FMM adds 7 packages (3 with compiled code, 4.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, gsignal 1.3 MB, rlang 766 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.4.1Latest
- RR 4.5.0 released · 2025-04-11
- 0.4.02025-03-02 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.3.1
- 0.3.02021-07-26 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 12 exports
calculateCosPhi, extractWaves, fitFMM, generateFMM, plotFMM, PVj, seqTimes, coef, summary, fitted, resid, pattern:get - RR 4.1.0 released · 2021-05-18
- 0.1.22021-03-01 · diff ↗
- 0.1.12021-01-22
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-01-22
- Total releases
- 6 / 5 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5
- Bundled data
- 10.0 KB / 4 files
- Download size
- 616 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("FMM")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.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.