Learn R Programming

FMM: 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 in the programming language R. '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) https://doi.org/10.1038/s41598-019-54569-1.

Installation

# Can be installed directly from CRAN
install.packages("FMM")
# Or the development version from GitHub:
# install.packages("devtools")
devtools::install_github("FMMGroupVa/FMM")

Using FMM

To get acquainted with some of the important functions, read the vignette:

# Overview of the package
vignette("FMMVignette", package = "FMM")

Copy Link

Version

Install

install.packages('FMM')

Monthly Downloads

430

Version

0.4.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Itziar Fernandez

Last Published

April 18th, 2025

Functions in FMM (0.4.1)

ecgData

Fifth annotated beat (lead MLII) from patient sel100 in 'QT database'
FMM-methods

Methods for objects of class 'FMM'
extractWaves

Individual contribution to the fitted values of each FMM wave
FMM-class

FMM Class Representation
getFMMPeaks

Peak and trough times and signal values
getS4

General S4 Class Extractor Functions
fitFMM

Fitting FMM models
generateFMM

Simulating data from FMM models
neuronalSpike

Neuronal Spike Data simulated with Hodgkin-Huxley model
mouseGeneExp

Iqgap2 gene expression data from mouse liver
FMM-package

Rhythmic Patterns Modeling by FMM Models
FMM-internal

Internal functions for the 'FMM' package.
plotFMM

Plot fitted FMM models
neuronalAPTrain

Neuronal AP Train Data simulated with Hodgkin-Huxley model