Find peaks of a curve http://stackoverflow.com/questions/31220307/calculate-x-value-of-curve-maximum-of-a-smooth-line-in-r-and-ggplot2

mf_findpeaks2(x, y, bw = 3)

Value

peaks

Examples