View source: R/islocaloptimum.R
islocaloptimum | R Documentation |
This function returns indices of local minimum and maximum points on a curve.
islocaloptimum(y)
y |
is a vector of y values. |
A vector in the same size of the vector 'y'. Local minimum and maximum arrays represented by -1 and +1, respectively.
data(chromatogramMatrix)
int <- chromatogramMatrix$smoothChromatogram
islocaloptimum(int)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.