R/mf.R

mf_findpeaks.Rd

Find peaks of a curve #https://rtricks.wordpress.com/2009/05/03/an-algorithm-to-find-local-extrema-in-a-vector/

mf_findpeaks(vec, bw = 1, x.coo = c(1:length(vec)))

peaks