find_peaks | R Documentation |
To find valleys, use -x
find_peaks(x, m = 3, na.ignore = FALSE)
x |
signal vector |
m |
Number of points of both sides of the peak with a lower value. 2m = width of peak |
na.ignore |
Ignore NA values in peak calculation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.