Description Usage Arguments Value
Finds the index of the first local minima in a series. If value == F and no local minima is found, returns NA. If value == T and no local minima is found, returns min(v)
1  | first_local_minima(v, value = F)
 | 
v | 
 A numeric vector containing the series.  | 
value | 
 Return the value at the local minima instead of the index?  | 
The index or value of the first local minima.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.