[R] Is there a function for finding local extrema.

Witold Eryk Wolski wolski at molgen.mpg.de
Fri Jul 26 15:45:40 CEST 2002

I have a vector with about 100.000 values representing a quite regular 
function (sinusoid like).
I would like to find all local maxima of this function (should be about 
4000). Is there a native routine for R?
Thanks in advance

 _|_  \|/  \|/  Eryk Witold Wolski         tel  :0049-(0)30-8413-1543 w w
 ´v´  'v´ \'v'/ MPI Moleculare Genetik     fax  :0049-(0)30-8413-1139 | |
/| |\/| |\ | |  Mass Spectrometry Group    http://www.molgen.mpg.de  /.^.\ 
 m m  m m  m m  mail :wolski at molen.mpg.de                             /|\

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list