Skip to content

Rhythmic Patterns Modeling by FMM Models

0packages depend
3Kdownloads / year
23.5%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.4.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 match omegaMin exactly due to floating point precision. The grid is now constructed using L + 2 points, and the first and last are removed.
  • Internal code restructuring: calculateSingleCosPhi() was separated from calculateCosPhi(), and a new function calculateDesignMatrix() was added.
  • The show() method for FMM objects is now registered by default. The previous manual call to addShowMethod() is no longer needed.

New features:

  • Added a new internal function: mobius(), used in the updated optimization routine.
  • Added dependency on the gsignal package (used for the hilbert() function).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.1
READMEYes · 82 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.4.1Citation fileNoWebsitenot declared in DESCRIPTION
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%
Vignettes (1)

Downloads

3K
CRAN downloads in the past year
Rank #14,327 · ~8/day · ~250/mo
Daily download trend is not available in this view yet.
36730 days
82890 days
3K1 year
Compare downloads with other packages →
Also on63 r2u6 autocran

Repository

4Stars
1Forks
2Open issues
0Open PRs
4Releases
19Commits
1Commit identities
License file reads as GPL-3.0 · 19 commits · Last activity 2025-04-01 · 0% stars, 30d
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
0

Stars over time

2025-02-28 · 22026-07-07 · 4
PracticesBeta

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.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.5
Imports (7)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (6)
Author, Maintainer since 0.1.1 (2021)
Author · added in 0.3.0
Author · added in 0.3.0
Listed in earlier versions (1)
Alejandro Rodriguez
no longer listed · 0.1.1 to 0.1.2
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.1Latest
    record
    2025-04-18 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.0
    record
    2025-03-02 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.3.1
    record
    2021-12-17 · diff ↗ ·
    added 2 exports
    alwaysFalse, R2
  • 0.3.0
    record
    2021-07-26 · diff ↗ ·
    removed 1 export
    pattern:^[[:alpha:]]+
    added 12 exports
    calculateCosPhi, extractWaves, fitFMM, generateFMM, plotFMM, PVj, seqTimes, coef, summary, fitted, resid, pattern:get
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.2
    record
    2021-03-01 · diff ↗
  • 0.1.1
    record
    2021-01-22
  • R
    R 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")
Fernandez, I., Canedo, C., Lamela, A., Larriba, Y., Rodriguez-Collado, A., & Rueda, C. (2025). FMM: Rhythmic Patterns Modeling by FMM Models (Version 0.4.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

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

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.

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