View source: R/finding_peaks.R
find_peaks_diff | R Documentation |
find peaks
find_peaks_diff(avg_spectra, m = 3)
avg_spectra |
input spectrum |
m |
how many on each side need to be lower |
Was copied from a cross-validated post: http://stats.stackexchange.com/questions/22974/how-to-find-local-peaks-valleys-in-a-series-of-data by user stas-g
tbl_df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.