Description Usage Arguments Value Examples
Takes in a vector and finds the local maximas. (Credit user Tommy https://stackoverflow.com/questions/6836409/finding-local-maxima-and-minima).
1 | localMaxima(x)
|
x |
A 1D array or vector |
A list of local maximas in the vector
1 | maximas <- localMaxima(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.