as.mimf: MIMFs

Description Usage Arguments Details Value

View source: R/is.imf.R

Description

is.imf tests if its argument is an IMF.

Usage

1
2
3
as.mimf(x, complete = T)

is.imf(x)

Arguments

x

A vector for is.imf or an array for as.mimf.

complete

Logical. If TRUE computes the sum of all IMFs in x as the recomposed original serie.

Details

as.mimf turns an array into a mimf object.

is.imf checks if the vector x respects the mathematical definition of an IMF, i.e. if its difference between the number of extrema zero-crossing is at most 1. In addition, computes the relative amplitude of the mean enveloppe.

as.mimf takes an array and transofrm it in a R object mimf regardless of its mathematical properties. It is made by adding the necessary attributes sch as tt. It is mostly a convenient function.

Value

is.imf returns a logical value indicating if the x is an IMF.

as.mimf returns a mimf object.


PierreMasselot/Library--emdr documentation built on June 19, 2021, 8:58 a.m.