local_max_cmps.Rd
find local maximums
local_max_cmps(x, find_max = 0)
numeric vector, the input sequence
a numeric scalor, the function finds maximums if find_max = 0 finds minimums if overwise.
find_max = 0