local_minima | R Documentation |
Get the indices of the local minima in a list of numbers
local_minima(x)
x |
Vector of numbers. |
A vector containing the indices of the elements that are local minima in the given input.
local_minima(c(1, 5, 3, 2, 4, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.