Description Usage Arguments Details Value

This function finds peaks in a time series of data, defined to be a local maxima where
at least `m`

points on either side are smaller than the deemed peak

1 | ```
find_peaks(x, m = 3)
``` |

`x` |
A numerical vector |

`m` |
The window that defines the local maximum (default = 3) |

This function is written by Stasia Grinberg and is available at https://github.com/stas-g/findPeaks

A vector of indices where the peaks have been identified

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.