find.extrema: Find local extrema and zero-crossings of a data series

Description Usage Arguments Value

View source: R/memd.R

Description

find.extrema gives the local extrema of x and zero.crossings give the zero-crossings.

Usage

1
2
3

Arguments

x

The signal.

Value

For find.extrema, a list giving the indices of local minima, local maxima and the total number of extrema.

For zero.crossings, a vector giving the time indices following each zero crossing.


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