| islocaloptimum {IDSL.IPA} | R Documentation | 
islocaloptimum
Description
This function returns indices of local minimum and maximum points on a curve.
Usage
islocaloptimum(y)
Arguments
| y | is a vector of y values. | 
Value
A vector in the same size of the vector 'y'. Local minimum and maximum arrays represented by -1 and +1, respectively.
Examples
data(chromatogramMatrix)
int <- chromatogramMatrix$smoothChromatogram
islocaloptimum(int)
[Package IDSL.IPA version 2.9 Index]