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/emdr documentation built on Oct. 30, 2019, 10:29 p.m.