Rdocumentation
powered by
Learn R Programming
peakPick (version 0.11)
keepmax: Eliminates peak pairs too close to each other.
Description
Eliminates peak pairs too close to each other.
Usage
keepmax(vec, candidates, neighlim)
Arguments
vec
vector of values
candidates
boolean vector representing candidate peaks
neighlim
integer limit of how far apart peaks must be
Value
boolean vector representing candidate peaks with smaller peaks of all pairs within neighlim removed