pick.peaks: pick.peaks

Description Usage Arguments Value References

View source: R/PickPeaks.R

Description

Function to identify local maxima in a vector, typically a spectrum or a chromatogram. N.B. This function belongs to the ChemometricsWithR package, developed by Ron Wehrens.

Usage

1
pick.peaks(x, span)

Arguments

x

Numerical vector.

span

Neighbourhood, used to define local maxima.

Value

A vector containing positions of local maxima in the input data.

References

Ron Wehrens: Chemometrics with R. Springer Verlag, Berlin Hei-delberg (2020). DOI: https://doi.org/10.1007/978-3-642-17841-2.


AnCaste/LIPIC documentation built on March 28, 2021, 1:27 p.m.