zeitzeigerExtrema: Estimate peaks and troughs.

Description Usage Arguments Value See Also

View source: R/zeitzeiger_fit.R

Description

zeitzeigerExtrema estimates the extremum (peak or trough) for each feature by using optimize and the periodic spline fit.

Usage

1
zeitzeigerExtrema(fitResult, maximum = TRUE, dopar = TRUE)

Arguments

fitResult

Output of zeitzeigerFit.

maximum

Logical indicating whether to find maximum or minimum.

dopar

Logical indicating whether to process features in parallel. Use registerDoParallel to register the parallel backend.

Value

Matrix with a row for each feature and columns for location and value.

See Also

zeitzeigerFit, zeitzeigerSig, zeitzeigerSnr


jakejh/zeitzeiger documentation built on Nov. 22, 2017, 2:06 a.m.